Open pushyamig opened 3 weeks ago
@jonespm , give any input anything in specific. I am thinking of using Guincorn, but I am open to using uvicorn
With Uvicorn, it's still recommended to run it through Gunicorn in production, this is what we do with Office hours.
uvicorn --reload
from the command line for local development.gunicorn -k uvicorn.workers.UvicornWorker
for production.However I believe the only reason we'd really need uvicorn is if we're going to be using websockets. This would be if we wanted more dynamic features. I don't think anything in CCM has this yet and I can't think of any planned feature that would need it, so I don't think it's necessary.
If I was working on this I'd probably do it the same way we did with Canvas App Explorer. It managed the front and backends with supervisor in development and compiled all the frontend sources to run in production. I think we could re-use much of the same project structure and just drop in the client (frontend) code.
OK, I will stick with gunicorn and will implement supervisor as suggested
This issue will be primarily removal of Node backend and add Django support