главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md39
1 files changed, 22 insertions, 17 deletions
diff --git a/README.md b/README.md
index df11eef..d06cb8c 100644
--- a/README.md
+++ b/README.md
@@ -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
-------------