Skip to content

"Interests and Contribs" for your Barcamp or Lightning-Talk track

Notifications You must be signed in to change notification settings

conc-at/clueshed

Repository files navigation

ClueShed Deploy

Build Status Code Climate Test Coverage security

"Interests and Contribs" for your Barcamp or Lightning-Talk track

Development setup


create db-tables

$ rails db:create

run migrations

$ rails db:migrate

install dependencies

$ bundle install

start the OSX mail server

$ sudo postfix start

install figaro (for ENV-Vars)

$ bundle exec figaro install

-> This creates a commented config/application.yml file and adds it to your .gitignore.

Add your own configuration to this file! -> refer to /config/aplication.example.yaml

to create a new secret for SECRET_KEY_BASE run

$ rails secret

start the server

$ rails server

generate encrypted Heroku API-Key

$ travis encrypt $(heroku auth:token) --add deploy.api_key

-> will be copied into .travis.yml

Production

push config variables to heroku

$ figaro heroku:set -e production