- Build your container in "developer mode":
sudo ./scripts/devel-compose up --build
- Switch into webapp container:
sudo podman exec -it vmaas-webapp bash
Now 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 bash
Now run:
./entrypoint.sh
- Switch to database container to gain access to db:
sudo podman exec -it vmaas-database bash
Now you can run database terminal with:
psql -d vmaas
- Safe EXIT
sudo podman-compose down
Otherwise pod and containers remain up and running.