backstopmedia / nest-book-example

69 stars 34 forks source link

Dockerize the app #4

Closed davguij closed 6 years ago

davguij commented 6 years ago

docker-compose up will now start a local development environment with reload on changes.

patrickhousley commented 6 years ago

Was the reloading working for anyone else? On windows, I had to add "legacyWatch": true, to the nodemon config. Just wanted to make sure this was not a Windows issue.

davguij commented 6 years ago

Reload works on my Mac without legacyWatch. I think it has something to do with the filesystem type of each machine, so each user's mileage may vary. I will include a note in the README as a heads up.

patrickhousley commented 6 years ago

@adrien2p @davguij This one needs to be merged into master as well. Also, please update the docker compose to create a postgresql database so users do not need postgresql installed and do not need to perform psql commands.

adrien2p commented 6 years ago

I will do that you right ;)