This is an initial attempt at a Docker-based development setup for Upcoming. It uses both docker and docker-compose, and should work out of the box with both Docker for Windows and Docker for Mac.
The aim: make getting started with Upcoming.org development much easier. Once you've checked out the repo and edited the config, just type this to get a working Upcoming install:
@waxpancake: This is currently failing because models/event.js is looking for a venue_gid table that doesn't exist in the schema. Is db/schema.sql out of date?
Still incomplete and failing, do not merge!
This is an initial attempt at a Docker-based development setup for Upcoming. It uses both
docker
anddocker-compose
, and should work out of the box with both Docker for Windows and Docker for Mac.The aim: make getting started with Upcoming.org development much easier. Once you've checked out the repo and edited the config, just type this to get a working Upcoming install:
It's based on https://github.com/BretFisher/node-docker-good-defaults so has built-in support for debugging and auto-reloading. I also pulled in some MySQL advice from this Medium post.
Todo:
venue_gid
table)node node_modules/unicode/install.js
nodemon
should be a devDep or be installed by the Dockerfile