hackdash icon indicating copy to clipboard operation
hackdash copied to clipboard

Dockerise

Open jbothma opened this issue 3 years ago • 2 comments
trafficstars

This is a LOT of changes - it's mostly for discussion - you probably want cleaner change sets, which I'm happy to try and assemble for you.

Changelog:

  • Add github actions workflow to run tests on each push and PR
  • Add .env to gitignore
  • Add Dockerfile that works in dev and production
  • Add docker-compose.yml to easily set up a dev environment
  • Add Procfile to run web and metrics processes in heroku or dokku
  • Add Docker-based instructions to README.md
  • Enable configuring using environment variables and document in README.md
  • Add example keys.js to enable setting via environment variables
  • Add session cookie support for single-component hostnames like localhost
  • Add default metrics config
  • Add npm lockfiles
  • Add nodemon dep
  • Bump node version to 14
  • Add start script which changes current working directory to start metrics without a different docker image

jbothma avatar Jun 17 '22 16:06 jbothma

@jbothma This is awesome!

Since I don't have time to work on HackDash and it seems your org definitely has. Does it make sense to hand off the project development to you? cc @marianet

impronunciable avatar Jun 28 '22 17:06 impronunciable

Sorry for the slow reply - I've been away for a few weeks.

Let me think a bit with our CTO - do you mean just the codebase or running https://hackdash.org/ as well?

jbothma avatar Jul 28 '22 18:07 jbothma