Closed dylanmcreynolds closed 4 years ago
I did not create PRs in splash-client or splash-server (sorry for the short cut) but I have updated master in both. I'll take fewer shortcuts like that when the whole system is a little more settled. So, grab this PR and pull from master in splash-client and splash-server.
If you have docker-compose.override.yml in you splash-deploy root, then a "docker-compose up" will bring up flask in dev mode....make changes to splash-server python code and it auto-reloads in the server. It brings up a vue npm server in development mode. Save vue files in splash-client, and it auto-reloads.
And this is all so that as a developer, you should be able to easily have to full docker stack at your disposal. That includes mongo and elastic and monstache.
This was a ridiculous amount of work, but hopefully good for the long run.
Currently, it's pretty difficult to setup a development environment. This article contains tips, including using a docker-compose.override.yml file.
https://www.patricksoftwareblog.com/using-docker-for-flask-application-development-not-just-production/
This will implement that as an aid to developers with the goals that they can simply clone the various repositories and run in a way that lets them autoload their changes.