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:
cp .env.docker.example .env.docker
-
Copy database dump into project:
Copy the database dump .dmp file in the projects root folder and rename it to db_dump.sql
-
Clean Docker node_modules:
docker volume rm amos2024ws02-backup-metadata-analyzer_mono-node-modules
-
Build and start Docker container:
docker compose --env-file .env.docker up --build
-
Stop Docker Container:
docker compose --env-file .env.docker down