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.sample
to.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 3
interpreter is installed. - Install the required
pip
packages -pip3 install -r backend/requirements.txt
. - Start the backend -
make backend
orcd backend/sources; python3 main.py
.
-
The following
Make
command will install the frontend packages and run the development build:make frontend
- Runs
yarn install
inside thefrontend
folder. - Runs
yarn dev
which in turn calls Vite for creating & running the dev build.
Check the wiki.