A voting site to decide among the different lists running in the ENSEIRB-Matmeca campaigns.
Vote.eirb.fr is a web application designed to facilitate the voting process for various lists running in ENSEIRB-Matmeca campaigns. The platform allows users to cast their votes and administrators to manage campaigns and view results.
- Create a
.envfile
Copy the provided.env.exampleand configure it according to your environment.
WARNING: Do not use the default values in production.
Start the database container using Docker Compose:
docker-compose -f ./docker-compose.db.yaml up -dInstall dependencies and start the backend in development mode:
cd backend
yarn
yarn devInstall dependencies and start the frontend in development mode:
cd frontend
yarn
yarn startDo not forget to start the database container before deploying the backend and frontend.
Build and run the backend using Docker Compose for production:
docker-compose -f ./docker-compose.api.yaml up -dBuild and run the frontend using Docker Compose for production:
docker-compose -f ./docker-compose.www.yaml up -dTo seed the initial admin user, run:
docker compose -f docker-compose.cli.yaml up --build