Guest User

Untitled

a guest
Oct 11th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. from fabric.decorators import task
  2. from fabric.context_managers import settings
  3. from utils import do
  4.  
  5. @task
  6. def run():
  7. """Start app in debug mode (for development)."""
  8. do('export FLASK_CONFIG=$PWD/app/config/dev.cfg && venv/bin/python ./run.py')
Add Comment
Please, Sign In to add comment