mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-31 14:11:05 +00:00
Fixing last db monitor issue with pip requirements. Deploy!
This commit is contained in:
parent
853e1f8b7a
commit
767ec3f1cf
1 changed files with 3 additions and 2 deletions
5
fabfile.py
vendored
5
fabfile.py
vendored
|
@ -181,7 +181,7 @@ def ec2():
|
|||
|
||||
def all():
|
||||
do()
|
||||
env.roles = ['app', 'db', 'task', 'debug', 'node', 'push', 'work']
|
||||
env.roles = ['app', 'db', 'task', 'debug', 'node', 'push', 'work', 'www']
|
||||
|
||||
# =============
|
||||
# = Bootstrap =
|
||||
|
@ -793,8 +793,9 @@ def downgrade_pil():
|
|||
def setup_db_monitor():
|
||||
pull()
|
||||
with cd(env.NEWSBLUR_PATH):
|
||||
sudo('pip install -r flask/requirements.txt')
|
||||
sudo('apt-get install -y python-mysqldb')
|
||||
sudo('apt-get install -y libpq-dev python-dev')
|
||||
sudo('pip install -r flask/requirements.txt')
|
||||
put('flask/supervisor_db_monitor.conf', '/etc/supervisor/conf.d/db_monitor.conf', use_sudo=True)
|
||||
sudo('supervisorctl reread')
|
||||
sudo('supervisorctl update')
|
||||
|
|
Loading…
Add table
Reference in a new issue