- Clone the repository:
git clone https://github.com/Ahmad-AlDeeb/Find-Me - Change directory to backend
cd ./backend/ - Create virtual environment
python -m venv venv - Activate virtual environment
- Windows:
venv/Scripts/activate - Linux:
source venv/bin/activate
- Install Django dependencies
pip install django faker djangorestframework django-cors-headers opencv-python-headless numpy scikit-learn facenet-pytorch
- Make migrations
python manage.py makemigrations - Make migrations for core app
python manage.py makemigrations core - Apply migrations
python manage.py migrate - Create super user
python manage.py createsuperuser - Run Django server
python manage.py runserver - Open new terminal and change directory to frontend
cd ./frontend/ - Install React dependencies
npm install - Run React app
npm run start