This project aims to help managing simple forms, allowing:
- Easily creating pdf forms.
- Filling the forms online.
- Extracting the data from scanned forms, which were filled on paper.
The main prerequisite for this project is to have conda installed.
In order to build & run the project, the SmartForms environment needs to be activated..
-
Load the conda environment
bash conda env update -f conda_environment.yaml -
Activate the environment
bash conda activate SmartForms
- Copy
.env.sampleto.env-cp backend/.env.sample backend/.env. - Fill the required data in the env file -
vim backend/.env. Our own authentication details are stored:- As Github secrets.
- In this document (restricted).
- Make sure a working
Python 3interpreter is installed. - Install the required
pippackages -pip3 install -r backend/requirements.txt. - Start the backend -
make backendorcd backend/sources; python3 main.py.
-
The following
Makecommand will install the frontend packages and run the development build:make frontend
- Runs
yarn installinside thefrontendfolder. - Runs
yarn devwhich in turn calls Vite for creating & running the dev build.
Check the wiki.