diff --git a/manifests/runserver.pp b/manifests/runserver.pp index b4a8b0068c82e9779c8777261f22c1cb90cf2a88..822e63437f41e79ee490b1c1d48bfe3a49a26b82 100644 --- a/manifests/runserver.pp +++ b/manifests/runserver.pp @@ -1,7 +1,7 @@ # Starts the django server in a pipenv, if not already running class tracingcarbon::runserver () { exec { 'Run django' : - command => 'yarn build && pipenv run python3 manage.py runserver &', + command => 'npm run build && pipenv run python3 manage.py migrate && pipenv run python3 manage.py runserver &', path => [ '/home/mange61/.local/bin', '/usr/bin', '/bin' ], cwd => '/home/mange61/tracing-carbon', user => 'mange61',