Small webapp that visualizes where Harvey Mudd's Class of 2020 will be after graduation, using data from this Google Form.
Current maintainers are @kwshi and @daphne-poon.
First install Docker. Then, to run:
- Obtain Google Drive API key from project maintainers and place it in
.oauth-private-key.json
. - Set up project and dependencies inside a Docker container (with
source synchronized with repo checkout),
make docker
. - Download form data,
make down
. - Start the development server and build the static site in
development mode,
make app-dev & make build-dev
. - Head to http://localhost:8080/admin for the admin dashboard, and http://localhost:8080 for the main webapp.
To deploy, install the Heroku
CLI and run make deploy
. (But this happens automatically when a commmit is merged to
master
, courtesy of CircleCI.)
warning " > @mapbox/[email protected]" has unmet peer dependency "mapbox-gl@>= 0.47.0 < 2.0.0".
Because Parcel is incompatible with mapbox-gl for dumb reasons, we
need to include mapbox-gl via <script>
tag. Hence it's not installed
through Yarn; that would just be misleading.
Unfortunately testing on mobile is, as always, a huge pain. First you
must have SSH access to a server with a public IP address, call it
IP
. Suppose you can SSH with ssh SERVER
. Then first run:
$ ssh -R 0.0.0.0:1234:localhost:8080 -N SERVER
Now you can access the local webserver from anywhere on the Internet (include your mobile device of choice) at the URL
http://IP.xip.io:1234/