1. Dan Jacob
  2. rentalerts

Commits

danjac  committed 212a2ab

Fabfile command name changes

  • Participants
  • Parent commits abb38b7
  • Branches default

Comments (0)

Files changed (1)

File fabfile.py

View file
 server = Server()
 
 @api.task 
-def stage():
+def staging():
     
     server.dir = "/home/danjac354/webapps/rentalerts/rentalerts"
     server.nginx_dir = "/home/danjac354/webapps/nginx"
     api.env.user = 'danjac354'
     api.env.password = 'VN4je2Cj'
 
+stag = staging
 
-def prod():
+def production():
 
     raise NotImplementedError
 
+prod = production
+
 @api.task
 def nginx_start():