Skip to content

elizabrock/coursewareofthefuture

Repository files navigation

The Courseware of the Future!

This is the courseware for Nashville Software School.

Build Status Code Climate Code Climate

Setup Instructions

  1. Copy config/application.yml.example to config/application.yml
  2. Copy config/database.yml.example to config/database.yml
  3. Fill in the correct Github API key and a valid Github access token (see below)
  4. rake db:create:all
  5. rake db:migrate
  6. Copy a valid github_access_token from a local User (e.g. from logging in on localhost, then inspecting the user in the rails console) and save it as GITHUB_ACCESS_TOKEN in application.yml.
  7. rake
  8. Confirm that rake passed. If it didn't, that means your setup is missing something.

Rails Server

Run the Rails server with puma.

System Dependencies

  • phantomjs
  • imagemagick

Developer keys

Either get them from Eliza, or set up your own keys, as below:

  1. Go to https://github.com/settings/applications and create an application
  1. Copy the application keys into your application.yml:
  • Client ID = GITHUB_CLIENT_ID
  • Client Secret = GITHUB_CLIENT_SECRET

Deployment Instructions

Deploying to coursewareofthefuture.herokuapp.com

  1. Get Eliza to add you to heroku
  2. git remote add heroku <heroku_git_url>
  3. git push heroku master
  4. heroku run rake db:migrate

For debugging:

  1. heroku logs --tail

New Deployments

First Deployment

  1. heroku create inquizator
  2. git push heroku master
    • You may need to run heroku keys:add before you can push
  3. heroku run rake db:migrate
  4. heroku set KEY=VALUE for all necessary environment variables. The full list of necessary environment variables is in application.yml.example

Subsequent Deployments

  1. git push heroku master
  2. heroku run rake db:migrate

Resources:

Resources from previous cohorts of the software development course:

Research Notes:

https://hud.iron.io/tq/projects/53594f0efaed5a000900008e/tasks/53596fb09979ed0d7d025a43/activity?from_date=04%2F23%2F2014&status%5B%5D=error&to_date=04%2F24%2F2014

https://hud.iron.io/tq/projects/53594f0efaed5a000900008e/get_started#

http://dev.iron.io/worker/webhooks/

About

The Courseware of the Future!! (For Nashville Software School)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published