Commit c95bc4391470d711ada2e187bfe2fafe35cc1a58
1 parent
cd257248
Exists in
master
and in
39 other branches
Removing script (replaced by fabric)
Showing
1 changed file
with
0 additions
and
18 deletions
Show diff stats
update-deploy.sh
@@ -1,18 +0,0 @@ | @@ -1,18 +0,0 @@ | ||
1 | -#!/bin/bash | ||
2 | - | ||
3 | -apt-get install apache2 libapache2-mod-wsgi | ||
4 | -apt-get install libxml2-dev libxslt1-dev # lxml | ||
5 | -apt-get install libpq-dev # psycopg2 | ||
6 | - | ||
7 | -cd /usr/local/src/colab2/ | ||
8 | -git pull | ||
9 | - | ||
10 | -if [[ $1 == 'deps' ]] ; then | ||
11 | - # com dependencias | ||
12 | - | ||
13 | - /usr/local/django/colab2/bin/pip install -r /usr/local/src/colab2/requirements.txt -U | ||
14 | -fi | ||
15 | - | ||
16 | -/usr/local/django/colab2/bin/python src/manage.py syncdb | ||
17 | -/usr/local/django/colab2/bin/python src/manage.py migrate | ||
18 | -touch src/colab/wsgi.py |