Skip to content
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.

droidlabs/irails

Repository files navigation

Welcome to iRails

Build Status Dependency Status

Simple template for Rails 4 based projects

Getting Started

  • $ git clone git://github.com/droidlabs/irails.git myapp
  • $ cd ./myapp
  • $ cp config/database.yml.example config/database.yml
  • Configure your config/database.yml
  • $ bundle install
  • $ rake db:setup

Deploy to staging

Setup SSH Access

  • $ brew install ssh-copy-id
  • $ ssh-copy-id username@hostname

First Server Setup

  • configure config/deploy/staging.rb
  • $ cap deploy:setup

Usefull commands

  • deploy with migrations:
  • $ cap deploy:migrations
  • connect via ssh:
  • $ cap ssh
  • show application logs:
  • $ cap log
  • start rails console:
  • $ cap console
  • see more

Data migrations

  • Generate data migration

  • $ rails g data_migration generate_user_tokens

  • Run data migration

  • $ rake data:migrate

Admin panel

PLEASE DON'T FORGET TO CHANGE ADMIN PASSWORD

License

Licenced under MIT.

Thanks for using iRails!

Hope, you'll enjoy iRails!

Cheers, Droid Labs.

About

Simple template for Rails 4 based projects by Droid Labs

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages