Skip to content

🌄 Small webapp to visualize post-graduation plans for the HMC Class of 2020.

License

Notifications You must be signed in to change notification settings

MuddCreates/life-after-mudd

Repository files navigation

Life After Mudd

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.)

Build warnings

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.

Test on mobile

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/

About

🌄 Small webapp to visualize post-graduation plans for the HMC Class of 2020.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •