- start the server with (from the
backend
folder)
source venv/bin/activate # linux
venv/bin/activate # windows
venv/Scripts/activate # PyCharm's thing
python main.py
- or create a run configuration in PyCharm
- start the server with (from the
frontend
folder)
npm run start
- to build & start the project (from the project root folder)
docker-compose build
docker-compose up
- visit http://localhost/ for frontend or http://localhost:5000/ for backend
- pull & start the server, using latest images (aka images from master):
cd ~/faceprints
sh ./deployer.sh
- pull & start the server, using
brach-name
images:
cd ~/faceprints
env TAG="brach-name" sh ec ./deployer.sh
- manual pull & start (can be modified)
docker-compose pull
docker-compose up --no-build -d
- to see the starting logs, skip the
-d
option