Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

zubrailx/ovision-hack-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Faceprints"

Running & Deploying

Local (backend standalone, debug mode)

  • 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

Local (frontend standalone)

  • start the server with (from the frontend folder)
npm run start

Local (with docker)

  • to build & start the project (from the project root folder)
docker-compose build
docker-compose up

Server

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •