Skip to content

Instantly share code, notes, and snippets.

@marianobrc
Created February 3, 2022 18:07
Show Gist options
  • Save marianobrc/f53fb3596e31a8f5fdf53c67e709c2d0 to your computer and use it in GitHub Desktop.
Save marianobrc/f53fb3596e31a8f5fdf53c67e709c2d0 to your computer and use it in GitHub Desktop.
A script to start the django local dev server
#!/bin/sh
echo "Running migrations.."
python manage.py migrate
echo "Starting server.."
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