Metadata-Version: 2.1
Name: django-deploy-asgi
Version: 1.0.1
Summary: Easy to use django command for deploy your project in nginx using asgi.
Home-page: https://github.com/n4b3ts3/django-deploy
Author: Esteban Chacon Martin
Author-email: n4b3ts3@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/n4b3ts3/django-deploy/issues
Keywords: deploy,django,nginx,asgi
Platform: UNKNOWN
Classifier: Framework :: Django
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: POSIX :: Linux
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# IMPORTANT
This package adds a new command to manage.py for your django project, it does requires root access for deployment and also requires you to have nginx and systemctl 
installed on your system. All this project is free and open source, you can see its code inside of https://github.com/n4b3ts3/django-deploy, DO NOT COPY THIS CODE 
FROM OTHERS SOURCES THAN PIP OR GITHUB IT MAY BE A MALWARE
# WARNINGS
When you runs this commands some warnings may appears, please do not ignore those warnings cause may means potentialy dangerous leaks in your django project 
# INSTALATION
pip3 install django-deploy-asgi
# USAGE
Make deployment and run it into your default browser if there is any ;)
* sudo path_to_venv/bin/python3 manage.py deploy 
Show help
* sudo path_to_venv/bin/python3 manage.py deploy -h 
# WHY ROOT?
We need sudo permissions in order to create a service in /etc/systemd/system so you can create a consistent service that you manually later will enable for persistency
We create files only in the nexts directories using md5 hashes of the DEPLOY_NAME set by the user in settings.py:
* /etc/systemd/system/*_django_asgi.service|socket
* /etc/nginx/sites-enabled/*_django_asgi



