- Build your container in "developer mode":
sudo ./scripts/devel-compose up --build- Switch into webapp container:
sudo podman exec -it vmaas-webapp bashNow your local git directory is mounted under /git in the container so any change
you make you can immediatelly test.
python3 ./app.py
Note that by default container does NOT run the application (so you can run your own modificationtion) so if you want to run "original" (unmodified) application use
/app/entrypoint.sh
Now you have bash inside vmaas_webapp container, run:
./entrypoint.sh
- Switch into reposcan container:
sudo podman exec -it vmaas-reposcan bashNow run:
./entrypoint.sh
- Switch to database container to gain access to db:
sudo podman exec -it vmaas-database bashNow you can run database terminal with:
psql -d vmaas
- Safe EXIT
sudo podman-compose downOtherwise pod and containers remain up and running.