diff options
author | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2014-05-17 11:51:24 +0200 |
---|---|---|
committer | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2014-05-17 11:51:24 +0200 |
commit | 46f92ee17706300430c24a360211ea6b9c9666ed (patch) | |
tree | 4c09aa1be433d19fab74a30448e11bd972ad35bd | |
parent | 88cfef4050ab5b11c5f6c70cd91a1c6471f188b5 (diff) |
Update README.md
-rw-r--r-- | README.md | 39 |
1 files changed, 22 insertions, 17 deletions
@@ -8,29 +8,14 @@ I created it because I wanted a very, very simple way to post entries to a blog You can see it live here: [read the initial blog post](https://web.archive.org/web/20130520204024/http://mmb.pcb.ub.es/~carlesfe/blog/creating-a-simple-blog-system-with-a-500-line-bash-script.html). That page was 100% generated using bashblog, no additional tweaking. -Features --------- - -- No installation required. Download `bb.sh` and start blogging. -- Ultra simple usage: Just type a post with your favorite editor and the script does the rest. No templating. -- All content is static. You only need shell access to a machine with a public web folder. - *Tip: advanced users could mount a remote public folder via `ftpfs` and run this script locally* -- Allows drafts, includes a simple but clean stylesheet, generates the RSS file automatically. -- Support for tags/categories -- Support for Markdown, Disqus comments, Twitter, Feedburner, Google Analytics. -- GNU/Linux, BSD and OSX compatible out of the box (no need for GNU `coreutils` on a Mac) -- Everything stored in a single 700-line bash script, how cool is that?! ;) - - Usage ----- -Copy bb.sh into a public folder (for example, `$HOME/public_html/blog`) and run +Download the code and copy bb.sh into a public folder (for example, `$HOME/public_html/blog`) and run ./bb.sh -This will show the available commands. If the file is not executable, you can either `chmod +x bb.sh` -or run it with `bash bb.sh` +This will show the available commands. If the file is not executable, type `chmod +x bb.sh` and retry. **Before creating your first post, you may want to configure the blog settings (title, author, etc). Read the Configuration section below for more information** @@ -38,11 +23,31 @@ Read the Configuration section below for more information** To create your first post, just run: ./bb.sh post + +Or, if you prefer Markdown over HTML: + + ./bb.sh post -m + +The script will handle the rest. When you're done, access the public URL for that folder (e.g. `http://server.com/~username/blog`) and you should see the index file and a new page for that post! +Features +-------- + +- No installation required. Download `bb.sh` and start blogging. +- Ultra simple usage: Just type a post with your favorite editor and the script does the rest. No templating. +- All content is static. You only need shell access to a machine with a public web folder. + *Tip: advanced users could mount a remote public folder via `ftpfs` and run this script locally* +- Allows drafts, includes a simple but clean stylesheet, generates the RSS file automatically. +- Support for tags/categories +- Support for Markdown, Disqus comments, Twitter, Feedburner, Google Analytics. +- GNU/Linux, BSD and OSX compatible out of the box (no need for GNU `coreutils` on a Mac) +- Everything stored in a single 700-line bash script, how cool is that?! ;) + + Configuration ------------- |