Permalink
Browse files

deployment for web and data servers is done. rob wil finish writing t…

…he supervisor stuff for the transaction server
  • Loading branch information...
robbles committed Mar 8, 2012
1 parent 3905959 commit 705b64e9e2778105c08a26b0ba8795c91f5b17c0
Showing with 3 additions and 6 deletions.
  1. +3 −6 deployment/fabfile.py
View
@@ -21,7 +21,7 @@
env.password = 'vagrant'
# add remote host addresses here
env.hosts = ['142.104.215.106:2222']
-
+env.always_use_pty = False
github_repo_address = 'git://github.com/TeamGamma/directedstudies.git'
@@ -46,7 +46,7 @@ def deploy(server_type='web'):
sudo('git pull')
#python goodies
sudo('pip install -r directedstudies/requirements.txt')
- sudo('pip install eventlet sql-alchemy')
+ sudo('pip install eventlet sqlalchemy')
run('cd /srv/directedstudies')
@@ -67,10 +67,7 @@ def deploy(server_type='web'):
#configure our libraries to act as packages?
with cd('/srv/directedstudies/'):
sudo('python setup.py develop')
-
- #navigate to server and run it. nice and easy right?
- with cd('/srv/directedstudies/sps/transactions/'):
- sudo('python server.py')
+ sudo('nohup fab tserver &> transaction_log.txt &')
elif server_type == 'database':
#start the database server

0 comments on commit 705b64e

Please sign in to comment.