Installation
1. Install dependencies
You will need:
- Ruby version 2.3.1 or higher
- Bundler version 1.0 or higher
- Imagemagick
- A database engine: MySQL or PostgreSQL
- A Javascript Runtime: Node.js or other
2. Install the gem
gem install decko
Watch carefully for errors!
3. Create your new decko
Here we'll create one named "mysite":
decko new mysite
4. 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
5. 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).
Related Topics: