Commit 70637d5c authored by Christophe Siraut's avatar Christophe Siraut

Fix typos.

parent eb5f19c4
...@@ -34,11 +34,11 @@ def deploy_remote(): ...@@ -34,11 +34,11 @@ def deploy_remote():
sudo('touch %s/' % name) sudo('touch %s/' % name)
sudo('mkdir -p media/uploads') sudo('mkdir -p media/uploads')
sudo('env/bin/pip install -r requirements.txt') sudo('env/bin/pip install -r requirements.txt')
if sudo('test -f %s' % os.path.join(directory, 'db.sqlite3').succeeded: if sudo('test -f %s' % os.path.join(directory, 'db.sqlite3')).succeeded:
sudo('env/bin/python collectstatic --noinput --no-initial-data') sudo('env/bin/python syncdb --no-initial-data --noinput')
else: else:
sudo('env/bin/python collectstatic --noinput') sudo('env/bin/python syncdb --noinput')
sudo('env/bin/python syncdb --noinput') sudo('env/bin/python collectstatic --noinput')
sudo('export gid=$(stat -c %g .); chown -R www-data:$gid .') sudo('export gid=$(stat -c %g .); chown -R www-data:$gid .')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment