- Install and configure Poetry
pip install --user poetry
# you may have to add the install folder `%appdata%\Python\Python310\Scripts` to your PATH environment variable (on windows)
See Installation for the official guide.
- Install the dependencies
cd backend
poetry install
# Then install the pre-commit hooks
pre-commit install
- Initialize the database
python manage.py migrate
- Install the dependencies using npm (which you get with Node.js installation)
cd frontend
npm install
The dev server can be started with the following command:
python manage.py runserver
CORS and CSRF are preconfigured and should work out of the box.
The dev server can be started with the following command:
npm run dev