I am a newbie in Django deployment and have been given the task of the project deployment on an Ubuntu 18.04 LTS prod server.
I have already deployed the project using NginX and uWSGI by copying all the project files in a directory with appropriate permissions and also assigned respective permissions to www-data user.
But, my question is whether all the files need to be directly copied into the said directory (since python files are interpreted files) or is there any other format, such as a war file for jsp projects, that can be directly deployed instead of copying the directory?
Thanks.
In general Django projects are deployed
In the former case, I really wouldn't manually copy anything, but have the directory be a checkout from your version control system (e.g. Git).