Skip to content

Commit

Permalink
Add more staging notes
Browse files Browse the repository at this point in the history
  • Loading branch information
kytrinyx committed Apr 8, 2015
1 parent 9b77ef0 commit 91d1ea5
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions STAGING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Staging Environment

## Testing Stuff

To configure the client to use the staging environment for submitting solutions,
use the following command:

exercism configure --key=abc --host=http://exercism-theory.herokuapp.com --api=http://x.exercism.io

You can also use a local copy of the x-api if you have specific problems you're testing there.
Or we can add exercism-xapi-theory as well.

## Deploying a branch to staging

If you have a branch that you want to test on staging, you can push that branch
to the remote master:

git push -f heroku my-branch:master

## TODO

We may want to tweak the app so we can set RACK_ENV=staging and perhaps have a
specific header or different website colour (or at the very least a different
favicon colour), just so that we don't accidentally go to staging thinking it's
production.

We may want to add seed data in staging; It downloads some flat files, which I'm
not sure we can do. We'd have to try it.

## Creating the staging environment

This is a log of what I did in order to set up the staging environment.
It's a work in progress, and mostly just a "note to self" type thing.

Expand Down

0 comments on commit 91d1ea5

Please sign in to comment.