Make sure the following are installed on your machine:
- Node 20
- Docker
- Docker Compose
-
Clone the repository:
git clone https://github.com/amosproj/amos2024ws02-backup-metadata-analyzer.git
-
Change directory:
cd ./amos2024ws02-backup-metadata-analyzer/
-
Setup .env files:
In the projects root folder, copy the .env.docker.example and rename the copy to .env.docker
-
Copy database dump into project:
Copy the database dump .dmp file into the projects root folder and rename it to db_dump.sql
-
Build Docker container:
docker compose --env-file .env.docker build --no-cache
-
Start Docker container:
docker compose --env-file .env.docker up
-
Stop Docker Container:
docker compose --env-file .env.docker down