Giter Club home page Giter Club logo

draft-server's Introduction

draft-server

Build Status Dependency Status Code Climate Coverage Status

style

  • use double quotes " whenenver possible

security

secret key replacement

  • use rake secret to generate a new secret key for your app
  • add APP_SECRET_KEY_BASE=XXXXXXXXX to your .env file
  • add the new environment variable to replace the original secret key
# config/initializers/secret_token.rb

DraftServer::Application.config.secret_key_base = ENV["APP_SECRET_KEY_BASE"]```
  • add the new secret key to your heroku staging and production environments

heroku config:set APP_SECRET_KEY_BASE=XXXXXXXXX --remote staging heroku config:set APP_SECRET_KEY_BASE=XXXXXXXXX --remote production

models

  • draft
  • pick
  • roster
  • slot
  • piece
  • user

foreman setup

travis setup

settingslogic setup

dot-env setup

heroku setup

staging and production environments

  • establish designations for your staging app

heroku config:set RACK_ENV=staging RAILS_ENV=staging --remote staging

  • set up a staging.rb file in your environments directory

git cp config/environments/production.rb config/environments/staging.rb

Bitdeli Badge

draft-server's People

Contributors

wrburgess avatar bitdeli-chef avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.