This is an open-source web application implementing a Polis-like algorithm.
The web API is written in FastAPI, a web framework for Python. You need to install Python before running the API.
Installation for Windows (instructions are minimally changed for Linux):
cd polis.server
python -m venv venv
venv/Scripts/activate # (in Linux, use source venv/bin/activate)
pip install -r requirements.txt
To run the API (in auto-reload mode):
uvicorn polis.main:app --reload
The frontend requires https://nodejs.org/en to run and is written in Vite.
Installation using Node (Windows and Linux):
cd polis.client
npm install
To run the frontend (in development mode):
npm run dev