Still can't get this right...
parent
6de1d5a343
commit
e33ddce131
|
@ -0,0 +1 @@
|
|||
from fabfile import *
|
|
@ -0,0 +1,17 @@
|
|||
from fabric.api import *
|
||||
|
||||
env.user = "franciszek"
|
||||
env.key_filename = "/home/daz/.ssh/jp2gmd_rsa"
|
||||
env.hosts = ['papiezlubi.keba.by']
|
||||
|
||||
def prepare_deploy():
|
||||
#local("./manage.py test my_app") # TOPKEK:
|
||||
local("git add -p && git commit")
|
||||
local("git push")
|
||||
|
||||
|
||||
def deploy():
|
||||
code_dir = '/home/franciszek/papiez_ipsum'
|
||||
with cd(code_dir):
|
||||
run("git pull")
|
||||
#run("touch app.wsgi")
|
Loading…
Reference in New Issue