Created using
- Flask
- Bootstrap
- PostgreSQL
Build the image:
docker compose build
Once the image is built, run the container:
docker compose up -d
Create the tables in Postgres
docker compose exec web python manage.py create_db
To check the database tables
Open psql
docker compose exec db psql --username=simple_web_form --dbname=simple_web_form
Connect to database
\c simple_web_form
Query the table
select * from contacts;
Quit
\q