examples/blog/README in nitro-0.8.0 vs examples/blog/README in nitro-0.9.3
- old
+ new
@@ -2,24 +2,26 @@
A simple blog.
== Configuration
-Edit the file conf/webapp.rb as needed. Dont forget to set your name
-and the password:
+Edit the configuration files in conf/* as needed.
-$blog_username = 'your name'
-$blog_password = 'your password'
+Dont forget to set your name and the password in the
+lib/blog.rb file:
+Blog.username = 'your name'
+Blog.password = 'your password'
+
By default this example uses the MySQL backend. If you want to
use a different backend dont forget to change it for the DEBUG
and LIVE configurations.
== Run
Exec the following command:
-ruby app.rb --start
+ruby ctl
then point your browser to:
http://127.0.0.1:8080