Skip to content

Commit d906427

Browse files
author
zmrenwu
committed
Modify fabfile
1 parent eccf9cc commit d906427

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy_tools/fabfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ def _update_static_files(source_folder):
4747

4848

4949
def _update_database(source_folder):
50-
run('cd %s && ../virtualenv/bin/python3 manage.py makemigrations' %
50+
run('cd %s && ../env/bin/python3 manage.py makemigrations' %
5151
(source_folder,))
52-
run('cd %s && ../virtualenv/bin/python3 manage.py migrate --noinput' %
52+
run('cd %s && ../env/bin/python3 manage.py migrate --noinput' %
5353
(source_folder,))
5454

5555

0 commit comments

Comments
 (0)