- Startup docker in background
- Open new console
- run
make database
- Open new console
- run
npm install - run
npm run dev
There are two mock users setup for local development:
-
Admin username: admin@email.com password: password
-
User username: user@email.com password: password
Releases to the various environments all happen automatically via Concourse. There are branches for each environment (staging/production) and merges to these branches will automatically trigger a deployment. The deployments use a rolling strategy to ensure no downtime to the service.
Before merging to these branches you should ensure that the build is passing on Travis.
- Make sure your repository is up to date
git fetch --all - Check out the staging branch
git checkout staging - Update the staging branch
git pull origin staging - Merge master to staging
git merge origin/master - Commit any changes
git commit -a - Push the new staging branch to remote
git push origin staging - Test your changes
- Make sure your repository is up to date
git fetch --all - Check out the production branch
git checkout production - Update the production branch
git pull origin production - Merge staging to production
git merge origin/staging - Commit any changes
git commit -a - Push the new production branch to remote
git push origin production - Test your changes