Skip to content
Snippets Groups Projects
Commit 3806e115 authored by Golen's avatar Golen
Browse files

Try build and migrate before server run

parent 042c9325
No related branches found
No related tags found
2 merge requests!14Test,!13Try build and migrate before server run
Pipeline #74205 passed
# 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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment