Skip to content

Commit

Permalink
Merge c1ff469 into b434741
Browse files Browse the repository at this point in the history
  • Loading branch information
mrniket committed Jul 24, 2018
2 parents b434741 + c1ff469 commit 0b571bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aimmo_runner/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ def run(use_minikube, server_wait=True, capture_output=False, test_env=False):
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "example_project.settings")

run_command(['pip', 'install', '-e', ROOT_DIR_LOCATION], capture_output=capture_output)

if not test_env:
run_command(['python', _MANAGE_PY, 'migrate', '--noinput'], capture_output=capture_output)
run_command(['python', _MANAGE_PY, 'collectstatic', '--noinput'], capture_output=capture_output)

django.setup()
create_superuser_if_missing(username='admin', password='admin')

server_args = []
Expand Down

0 comments on commit 0b571bd

Please sign in to comment.