Getting started
Using docker compose
This is the recommended way of running the project in production
Setting up Ada
Ada is a monorepo managed by Docker Compose. Follow these steps to get the project running on your local machine.
Prerequisites
Installation
- Clone the repository:
- Navigate to the project directory:
- Build and start the Docker containers:
This command will download necessary images, build the containers, and start the services defined in the docker-compose.yml
file.
- Once the build process is complete and the services are running, you can visit http://localhost:3000/ and you should see something like this:
Development
- To stop the services, use
Ctrl+C
in the terminal where Docker Compose is running. - To run the services in detached mode, use
docker compose up -d
. - To view logs, use
docker compose logs
. - To rebuild the containers after making changes in the code, use
docker compose up --build
.
Troubleshooting
If you encounter any issues during setup, please check the following:
- Ensure all prerequisites are correctly installed.
- Verify that the required ports are not being used by other applications.
- Check the Docker logs for any error messages.
If problems persist, please contact erwan.boehm@beta.gouv.fr or open an issue on the GitHub repository.