Last active
August 25, 2016 20:11
-
-
Save chhantyal/f28bb58161dd7bceffc44d50ff38eb9f to your computer and use it in GitHub Desktop.
Script to run Django development server.
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 | |
# script to run development server | |
# Instead of typing `python manage.py runserver` all the time | |
# just use ./runserver.sh | |
# you might need to do: chmod +x runserver.sh | |
DJANGO_SETTINGS_MODULE=project.settings.local venv/bin/python manage.py runserver 0.0.0.0:8000 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment