Sign up Sign in Samples Blog contact support
Installation

1. Install the gem

gem install decko

Watch carefully for errors! 

 

2. Create your new decko

Here we'll create one named "mysite":

 decko new mysite

 

3. Create / seed your database

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

 

Then run...

cd mysite 
decko seed

..to create and seed the database

 

4. Start your server

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

decko server

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

 

WEBrick is great for a quick test run, however, for production, you will not want to use the built-in Webrick server; you'll want to use Nginx or Apache:

Installing a Web Server

Wagn in production for more advanced topics.