To set up and run the project on your local machine, follow these steps:
First, pull the repository to your local machine:
git clone https://github.com/hicsail/aida-content-host.git
cd aida-content-host
Update the environment files with the required configurations:
- At root directory, change
.env-example
to.env
(you don't need to change any values) - Navigate to
./server/digital-repository
and chage.env-example
to.env
(you don't need to change the value)
Make sure Docker is installed and running on your local machine. You can verify this by running:
docker --version
If Docker is not installed, you can download it from Docker's official website.
Use the provided shell script to start the necessary services. You can run:
sh run.sh -a
Alternatively, to start specific services:
-
Databse (MongoDB) Only:
sh run.sh -d
-
Digital Repository Only:
sh run.sh -f
-
Visualization Only:
sh run.sh -v
Once Docker services are running, open the following URLs in your browser:
- Frontend: http://localhost:3000
- Visualization: http://localhost:3001
If you need to shutdown the App, use:
sh shutdown.sh
Note: This command will also prune all volumes. If you wish not to do this, you have to run docker compose -f docker-compose-local.yml down
yourself.