Skip to content

Instantly share code, notes, and snippets.

@anselmos
Created July 20, 2017 20:26
Show Gist options
  • Save anselmos/e106ddc2f7e9949b2386957cb2cdf397 to your computer and use it in GitHub Desktop.
Save anselmos/e106ddc2f7e9949b2386957cb2cdf397 to your computer and use it in GitHub Desktop.
python environment for drf-tdd-sample project
git clone https://github.com/anselmos/DRF-TDD-example.git drf-tdd-example
cd drf-tdd-example
virtualenv .env
source .env/bin/activate
pip install -r requirements.txt
source .env/bin/activate && cd todoapp/ && python manage.py migrate
source .env/bin/activate && cd todoapp/ && python manage.py createsuperuser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment