Install Nginx & Clone the Repository
1. Install Nginx
sudo apt install nginx
sudo ufw allow 'Nginx HTTP'
systemctl status nginx
After running these commands, Nginx should be active and serving on port 80.
2. Install Git and Clone the Repository
sudo apt install git
cd /var/www/
git clone https://github.com/Saudigitus/dhis-audit-vision-api.git
cd dhis-audit-vision-api/
git checkout develop
3. Install Python Dependencies
pip install -r requirements.txt
pip install alembic psycopg2-binary