Sha256: e2678e83876dc758e7512c9091555702a7fd7b84be6c79c712afe9e407741c94
Contents?: true
Size: 966 Bytes
Versions: 11
Compression:
Stored size: 966 Bytes
Contents
<%= app_name %> ==== This is a Grape + Rack ([Gris](http://github.com/dylanfareed/gris)) hypermedia API service. Set-Up for Development --- - Fork this repo - Clone your fork locally - Bundle ``` cd your-fork-directory bundle ``` - `DATABASE_NAME` and `PERMITTED_TOKENS` are required environment variables. Prior to executing rake tasks, running the gris console or booting the application, set up your environment by doing **one** of the following: * Use [Dotenv](https://github.com/bkeepers/dotenv)—copy `.env.example` to `.env` and `.env.test` and modify it where appropriate * Export the minimum required environment variables `DATABASE_NAME` and `PERMITTED_TOKENS` - Set up the database ``` DATABASE_NAME= PERMITTED_TOKENS= bundle exec rake db:create DATABASE_NAME= PERMITTED_TOKENS= bundle exec rake db:migrate ``` - Verify that [Rubocop](https://github.com/bbatsov/rubocop) and specs pass. ``` DATABASE_NAME= PERMITTED_TOKENS= bundle exec rake ```
Version data entries
11 entries across 11 versions & 1 rubygems