Django deployment utilities
Project description
Tools to help deploy a django application
INSTALLATION:
pip install .
CONFIGURATION:
Add ‘django_deploy_tools’, in your settings.INSTALLED_APPS.
Add a STATIC_ROOT variable in your django settings.py file.
See <https://docs.djangoproject.com/en/3.0/ref/settings/#static-files>, <https://docs.djangoproject.com/en/3.0/ref/settings/#static-root> and <https://docs.djangoproject.com/en/3.0/howto/static-files/> for more details.
USAGE:
First collect static files:
python manage.py collectstatic
If you have django-compressor run
python manage.py compress
(see <https://django-compressor.readthedocs.io/en/stable/> for more details).
Then, create a wsgi file:
python manage.py make_sgi –wsgi –out path/to/wsgi_file
And the generate an apache configuration file:
python manage.py make_apache_conf –wsgi path/to/wsgi_file –sll –out /path/to/apache_conf_file
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Django Deployment Tools-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b6499fa2e794f34744fc48ac6db3793604cc6a59e8012ff7ced19c054c74a9f |
|
MD5 | 585d3279d1d97b906baa010c25c3509d |
|
BLAKE2b-256 | cdba3f7f8d12ff8f538c8e1848770c0e91cc7babae21d45a72b92af054a0012f |
Hashes for Django_Deployment_Tools-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a44f03700de9021276d4b730bc1e7528172a22fc00b4f83f9c98dfb34c0f3be9 |
|
MD5 | b4b3062e55d0572caed2a9de19939e11 |
|
BLAKE2b-256 | d129c9b1acee4a4a37110c77a3b24f9d7f93ba8da6c39d665312bf0f620dc7eb |