mysociety / research-repository

A place for mySociety to keep its research in a sensibly organised and presented manner.
http://research.mysociety.org/
Other
2 stars 2 forks source link

Django3 #46

Closed ajparsons closed 2 years ago

ajparsons commented 2 years ago

For https://github.com/mysociety/research-repository/issues/32:

This updates to python 3.9 and django 3.2, generally mirroring the way the caps repository is working, with a new dockerfile.

I've made a change that will effect how deployment works, switching from a .yml to a .py to mirror caps. The existing configuration file will need some tweaks to that format.

The dockerfile is mostly the same as the caps one, with 'sassc' added as a package, and some extra dev packages.

I've updated packages and left post_deploy_actions intact, but nothing in the dockerfile uses them. Have left in place because I'm not sure how the new deployment system works.