- Github account
- Dockerhub account
- Install Docker for Windows | Docker for Mac
- for Windows, also install git-bash
- Start Docker
- Open Terminal / git-bash and run
mkdir -p ~/Projects && cd ~/Projects
git clone git@github.com:tshelburne/csci-e39.git && cd csci-e39
echo your-id-goes-here > .id
, replacing "your-id-goes-here" with the ID we provided youmake build migrate
To see all tasks, run make
make start
starts the app and connects to a local environmentmake live
starts the app and connects to the live environmentmake stop
stops any running version of the app (start
,watch
,live
, etc.)
make clean
resets the directory to a fresh installationmake watch
starts the app, connects to a local environment, and recompiles when source code changesmake activate assignment=[assignment name]
updates the app to enable the specific assignment directory
make migration name=[migration name]
creates a new database migration filemake migrate
updates the local database schemamake publish
publishes the current container to Dockerhubmake deploy
deploys the current container to Herokumake migrate-prod
updates the live Heroku database schema