Skip to content
Snippets Groups Projects
Commit c8b28247 authored by Måns Gezelius's avatar Måns Gezelius
Browse files

Merge branch 'devel' into 'test'

Enable server

See merge request !11
parents eaf83532 042c9325
No related branches found
No related tags found
2 merge requests!12Test,!11Enable server
Pipeline #74196 passed
......@@ -41,5 +41,5 @@ class tracingcarbon {
include tracingcarbon::python
include tracingcarbon::yarn
# include tracingcarbon::runserver
include tracingcarbon::runserver
}
# Starts the django server in a pipenv, if not already running
class tracingcarbon::runserver () {
exec { 'Run django' :
command => 'pipenv run python3 manage.py runserver &',
command => 'yarn build && 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