README.md in toto-0.1.3 vs README.md in toto-0.1.4
- old
+ new
@@ -28,13 +28,15 @@
synopsis
--------
One would start by forking or cloning the toto-skeleton repo, to get a basic skeleton:
+
+ $ mkdir weblog/
+ $ cd weblog/
+ $ git clone git://github.com/cloudhead/toto-skeleton.git .
- $ git clone git://github.com/cloudhead/toto-skeleton.git
-
One would then edit the template at will, it has the following structure:
templates/
|
+- layout.rhtml # the main site layout, shared by all pages
@@ -91,9 +93,14 @@
#### on heroku
Toto was designed to work well with heroku:(http://heroku.com), it makes the most out of it's state-of-the-art caching,
by setting the _Cache-Control_ and _Etag_ HTTP headers. Deploying on Heroku is really easy, just get the heroku gem,
create a heroku app with `heroku create`, and push with `git push heroku master`.
+
+ $ heroku create
+ $ heroku rename weblog
+ $ git push heroku master
+ $ heroku open
### configuration
You can configure toto, by modifying the _config.ru_ file. For example, if you want to set the blog author to 'John Galt',
you could add `set :author, 'John Galt'` inside the `Toto::Server.new` block. Here's the options hash with the defaults: