-
-
Save peppelorum/1729124 to your computer and use it in GitHub Desktop.
A simple way to deploy Django epio
This file contains hidden or 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
| from fabric.api import local | |
| class Deployment(object): | |
| def __init__(self): | |
| local('python manage.py collectstatic') | |
| local('epio upload') | |
| local('epio django syncdb') | |
| local('epio django migrate') | |
| def deploy(): | |
| deployment = Deployment() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment