Install npm to build the frontend. Follow this tutorial.
Then, in the frontend/app
directory, run:
npm install
This will install all required dependencies.
Navigate to frontend/app
and run:
./build.sh
This will create a dist
folder inside backend/flask-app/app
, which is required for the backend.
Create a .env
file in backend/flask-app/app/app/
with the following template:
MAIL_SERVER=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
By default, the configuration uses TLS, but this can be changed in __init__.py
within the same directory as the .env
file.
Install Docker and Docker Compose.
Then, navigate to backend/flask-app
and run:
docker-compose up --build
This will build and start the Docker container.
Visit http://localhost:5000 to test the app.
- You need to create an admin user. A temporary button is provided for this (not secure and will be removed later).
- Log in with:
- Username:
admin
- Password:
admin
- Username:
- Access the Admin Panel, where you can add users and data.
- From here, you can test all application functionalities.