Commits

Albert O'Connor committed af2e035

Starting the fix the fab file, more importantly update the supervisor script.

  • Participants
  • Parent commits 2989541

Comments (0)

Files changed (2)

File deploy/activate.supervisor

 [program:activate]
 command=/storage/deployed/virtualenvs/activate/bin/gunicorn_django  -w 2 -b 0.0.0.0:8888  -t 90
-directory=/storage/deployed/django/wl-activate/activate
+directory=/storage/deployed/django/activate/activate
 user=root
 autostart=true
 autorestart=true
 env.django_root = "/storage/deployed/django/"
 env.virtualenv_root = "/storage/deployed/virtualenvs/"
 env.repo_root = "/storage/repos/wl-activate"
+env.repo = "http://hg.nomad.yurt/wl-activate"
 
 env.project_name = "activate"
 
-env.hosts = ["amjoconn@pilgrim.albertoconnor.ca"]
+env.hosts = ["m00se@base.nomad.yurt"]
 
 env.project_virtualenv = os.path.join(env.virtualenv_root, env.project_name)
-env.project_django_root = os.path.join(env.django_root, "wl-activate")
-
+env.project_django_root = os.path.join(env.django_root, "activate")
 
 def deploy():
     push()
         sudo("hg pull")
         sudo("hg update")
         with cd("%(project_name)s"%env):
-                sudo("pwd")
                 sudo("cp local_settings.production.py local_settings.py")
                 sudo("%(project_virtualenv)s/bin/python manage.py collectstatic --noinput"%env)
                 sudo("%(project_virtualenv)s/bin/python manage.py syncdb"%env)