Open nullcount opened 3 years ago
Modify the setup_production.sh script to allow a process for developing with the production server.
Yarn has to rebuild the source for it to be available to nginx. Perhaps, add a yarn script to package.json to allow a simple watch and build.
Gunicorn may already apply changes to the API. Try it out and perhaps see if it offers a watch option if not already working as expected.
The new development setup would be to run the yarn watch script, and tail the gunicorn logs to see flask output.
Modify the setup_production.sh script to allow a process for developing with the production server.
Yarn has to rebuild the source for it to be available to nginx. Perhaps, add a yarn script to package.json to allow a simple watch and build.
Gunicorn may already apply changes to the API. Try it out and perhaps see if it offers a watch option if not already working as expected.
The new development setup would be to run the yarn watch script, and tail the gunicorn logs to see flask output.