Deploy Augmentator on Server
Update and Setup Video Augmentation App
Go inside EkeelVideoAugmentation app folder
cd /var/www/apps/augmentator
Go inside flask-server folder and update dependencies from requirements.txt
cd ./src/flask-server/
conda env update --file conda_environment.yml --prune
sudo systemctl restart ekeel-aug
Go inside react-app folder
cd /var/www/apps/augmentator/src/react-app
If you have a build folder, delete it
sudo rm -r ./build
Update npm packages
sudo npm install --legacy-peer-deps
Create new version of the react app build
sudo -s
npm run build
Restart VideoAugmentation App
sudo systemctl restart ekeel-wp3
In case of reinstall on server
After cloning the repo install nvm
sudo apt-get update
sudo apt install curl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
nvm --version
Follow this guide to install react front-end (specific section)