This service manages the solutions that are displayed on Charmhub.
These instructions explain how to set up the project for local development and testing.
- Docker and Docker Compose
Clone the repository, build the images and start the application and database containers:
docker compose up --build -d
This will also set up migrations and seed the database with mock data via the entrypoint.sh
script.
The application is now running and accessible at http://localhost:5000
.
To run the tests, use the following command:
docker compose exec solutions-service python3 -m pytest tests/
To stop the Docker container, use:
docker compose down