Add your dev credentials to .env and production to .env.production
$ git clone git@github.com:kirillshevch/rails-api-template.git
$ cd rails-api-template
$ bundle install
$ rails db:create
$ rails db:migrate
$ rails s
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
Devise token auth mounted at api/v1/auth (docs)