Created
January 11, 2019 01:09
-
-
Save Jaxmetalmax/b74c9d9fccec027f21e2648130f83d9b to your computer and use it in GitHub Desktop.
startup script for django app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /home/appuser/deploywebhook | |
#/home/appuser/.local/bin/pipenv run python main.py | |
echo -e "Ejecutando web service..." | |
/home/appuser/.local/bin/pipenv run gunicorn yourproject.wsgi --bind 127.0.0.1:8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment