Skip to content

codelation/rails-project-template

Repository files navigation

Rails Project Template

Deploy

Development Setup

The codelation-cli gem will install all required software on OS X:

gem install codelation-cli
codelation development:install

In order to run the project in development, you'll need to install the required RubyGems and set up your Postgres database:

bundle install
rake db:setup

This will create both an AdminUser and a User record if you need them. To log in as either, the email and password are admin@codelation or [email protected], and the password for both is password123. The admin interface is available at /admin.

Running in Development

A rake command is included to start up Postgres.app if it isn't running already and then start the Rails app with Puma at http://localhost:3000.

$ rake start