antarctica / PolarRoute-server

Backend server for serving PolarRoute and MeshiPhi assets and managing their calcuation using Django & Celery.
MIT License
0 stars 0 forks source link

Packaging of the application #26

Closed JimCircadian closed 2 weeks ago

JimCircadian commented 2 weeks ago

This ideally needs to be packaged, it will make life much easier from the deployment and versioning perspective. The manner by which this will be hosted is not running Django from the CLI, but rather from a mod_wsgi instance, which is much harder without a package installation.

It might be worth adding some instructions for running the application and configuring it. Though these can be figured out from code in polarrouteserver.settings, understanding their relevance for deployment would be useful, especially in relation to polarroute-pipeline. Currently only the demo app (which doesn't appear relevant to deployment) and make serve-dev are relied upon using basic default settings, so to deploy using any other method there is considerable effort to understand how to build the appropriate configuration ready to run.

davidwilby commented 2 weeks ago

Thanks @JimCircadian and sorry for dropping the ball on this, both of these have been on my to do list. I wasn't expecting anyone to work it out from the repo, just got a bit behind.

Let's discuss further in person, I've made a start at #27 but will need to understand more of what is required.

NB the tutorial referred to is about what Django call 'apps' which are reusable components of sites/projects - the thinking on how to package entire Django sites/projects is less well-defined