Skip to content

Commit

Permalink
Add podman commands
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed May 11, 2023
1 parent 36572ad commit a409fca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions site/profile/manifests/userportal.pp
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,11 @@
require => [Exec['userportal_venv']],
}
}

# podman command to run it in a container
podman run --network=host IMAGE_ID
podman cp 99-local.py CONTAINER_ID:/tbt/userportal/settings/99-local.py
# podman exec CONTAINER_ID /tbt/manage.py migrate
podman cp CONTAINER_ID:/tbt/static/custom.js /var/www/userportal-static/
podman cp CONTAINER_ID:/tbt/static/dashboard.css /var/www/userportal-static/
podman restart CONTAINER_ID

0 comments on commit a409fca

Please sign in to comment.