-
Notifications
You must be signed in to change notification settings - Fork 0
(LINUX) Developper Mode Setup
Note: This mode is not recommended as it is harder to maintain for all users. The preferred mode to have the correct developer environment to contribute is by using the docker method !
-
Install Tesseract package:
sudo apt install gcc tesseract-ocr tesseract-ocr-osd tesseract-ocr-fra poppler-utils
-
Install Python if needed.
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh chmod +x Miniconda3-latest-Linux-x86_64.sh ./Miniconda3-latest-Linux-x86_64.sh conda activate base
Install Poetry env manager (with dvc)
conda install mamba mamba install -c conda-forge poetry dvc-ssh
-
Clone the repository and create the environnement:
git clone [email protected]:lambda-science/IMPatienT.git
cd IMPatienT
poetry config virtualenvs.in-project true
poetry install
-
Run the app with the boot developper script
chmod +x dev_boot.sh
./dev_boot.sh
-
Go to 127.0.0.1:5000/ in your web-browser and use the application. Developper account is: username: admin password: admin
You can pull our dev-data using dvc (in conda base env):
dvc pull