Skip to content

kirillshevch/rails-api-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rails-api template

Add your dev credentials to .env and production to .env.production

Install

$ git clone git@github.com:kirillshevch/rails-api-template.git
$ cd rails-api-template
$ bundle install
$ rails db:create
$ rails db:migrate
$ rails s

Deploy

Using Chef and Capistrano to deploy a Rails application on Ubuntu 16.04

First time:

$ cap production deploy
$ cap production deploy:upload_configs
$ cap production deploy

Next releases:

$ cap production deploy

Additional tasks:

$ cap production app:stop
$ cap production app:start
$ cap production app:restart

Auth

Devise token auth mounted at api/v1/auth (docs)

Releases

No releases published

Packages

No packages published