Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kirillshevch/rails-api-template
https://github.com/kirillshevch/rails-api-template
bolierplate rails rails-api rails-boilerplate
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kirillshevch/rails-api-template
- Owner: kirillshevch
- Created: 2016-12-08T11:23:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-20T11:39:01.000Z (over 7 years ago)
- Last Synced: 2024-10-12T10:08:14.632Z (about 1 month ago)
- Topics: bolierplate, rails, rails-api, rails-boilerplate
- Language: Ruby
- Size: 27.3 KB
- Stars: 4
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rails-api template
Add your dev credentials to .env and production to .env.production
## Install
$ git clone [email protected]: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](https://medium.com/@kirill_shevch/using-chef-and-capistrano-to-deploy-rails-application-on-ubuntu-16-04-fae1dfe0dd12)
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)](https://github.com/lynndylanhurley/devise_token_auth#usage-tldr)