20 lines
830 B
Markdown
20 lines
830 B
Markdown
# Build new container
|
|
podman build . -t he-database
|
|
podman tag he-database gitea.pkm.physik.tu-darmstadt.de/markusro/he-database:latest
|
|
podman push gitea.pkm.physik.tu-darmstadt.de/markusro/he-database:latest
|
|
|
|
# Run and update container
|
|
Also check documentation from [RedHat](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux_atomic_host/7/html/managing_containers/running_containers_as_systemd_services_with_podman).
|
|
|
|
podman pull gitea.pkm.physik.tu-darmstadt.de/markusro/he-database:latest
|
|
podman run --replace --detach --name he-database -p 8000:8000 he-database:latest
|
|
|
|
# Create DB Schema in chartdb.io
|
|
|
|
1. go to https://app.chartdb.io
|
|
2. klick "Import"
|
|
2. execute in terminal: `sqlite3 db.sqlite3 <create_schema_chartdb.io > import_chartdb.io`
|
|
3. copy contents of `import_chartdb.io`
|
|
|
|
|