Sign up Sign in Samples Blog services contact support

Installation

1. install the gem

gem install wagn

Watch carefully for errors! 

 

2. create your new wagn application

Here we'll create one named "mysite":

 wagn new mysite

 

3. create / seed your database

Edit the config/database.yml file as necessary for details see Database Configuration.

 

Then run...

cd mysite 
wagn seed

..to create and seed the database

 

4. start  your server

To fire up the default, built-in WEBrick server, just run:

wagn server

...and point your browser to http://localhost:3000 (unless otherwise configured).

 

WEBrick is great for a quick test run. See Wagn in production for more advanced topics.