Skip to content

Instantly share code, notes, and snippets.

@Jaxmetalmax
Created January 11, 2019 01:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jaxmetalmax/b74c9d9fccec027f21e2648130f83d9b to your computer and use it in GitHub Desktop.
Save Jaxmetalmax/b74c9d9fccec027f21e2648130f83d9b to your computer and use it in GitHub Desktop.
startup script for django app
#!/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