upcoming / upcoming-www

Upcoming.org Site
Apache License 2.0
168 stars 17 forks source link

WIP: Docker development environment #52

Open yozlet opened 6 years ago

yozlet commented 6 years ago

Still incomplete and failing, do not merge!

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:

docker-compose up

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:

yozlet commented 6 years ago

@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?