Thanks for contributing to where@! To get started:
- Sign the Contributor Agreement.
- Fork the repo and do work in a feature branch.
- Write tests for all new code.
- Make sure all new and pre-existing tests pass.
- Issue a pull request.
If you have any questions, open an issue or join the contributor mailing list.
We want contributing to Where@ to be a fun and empowering experience for everyone involved. Toward that end, we ask all contributors to adhere to the Geek Feminism Code of Conduct and encourage them to incorporate Recurse Center's Five Social Rules in their interactions.
- Set up whereat/whereat-bash
$WHAT_ROOT
,$WHAT_KEY
and$WHAT_SCRIPTS
must be defined in your environment- Run
whereat-bash/src/build/build-location-server.sh
- This will move into your
$WHAT_ROOT
and checkoutwhereat/whereat-location-server
source code - This will then checkout the
whereat/whereat-location-server
docker image and run it, mounting the checked out source code - Code modified locally will now be reflected in the docker image
- This will move into your
This will build a docker container and load the image into your local Docker instance. First, create a temporary directory for packer to use:
$ mkdir ~/tmp
Next, run packer, passing in the temporary directory to use:
$ TMPDIR=~/tmp packer build packer.json
To run the generated image:
docker run -it whereat/whereat-location-server bash
run sbt stage deployHeroku
from the root of this project