open-energy-view
open-energy-view copied to clipboard
[WIP] Still erroring out, but I am a bit stuck
If you'd like to run this and see if you recognize the errors, I think I'm getting close, but also think that the fact that celery workers are going to run in the background will cause them to be ignored, and for the container to exit.
So cool! I will check this out tomorrow.
This is awesome, it builds my 30+ minute instructions in a few minutes! Commenting the diff with some fixes and workarounds
With this the uwsgi server runs and I am able to go to Docker Desktop and click view in browser. I tried with ports 5000 and 5001, I think either is OK.
Unless docker is way more magic than I understand, I would think that the run-io-work
and run-cpu-worker
need there own service since the run-wsgi-dev
script should never exit.
I was feeling spicy so I changed the init.sh to:
./run-wsgi-dev &
./run-io-worker &
./run-cpu-worker
Which ends up revealing some weird celery errors.
The script test-gui
should run the flask development server.