No description
This repository has been archived on 2026-07-26. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • PureBasic 98.8%
  • JavaScript 0.5%
  • Python 0.4%
  • SCSS 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-04-17 17:48:05 +03:00
backend fix: after-the-fact 2022-04-17 17:48:05 +03:00
frontend fix: final 2022-04-17 14:02:12 +03:00
.gitignore implemented face detection 2022-04-16 16:59:12 +03:00
.gitlab-ci.yml feat: tag name based on the branch name 2022-04-16 10:43:14 +03:00
deployer.sh feat: deployer.sh 2022-04-16 11:49:29 +03:00
docker-compose.yml feat: ssl sertificates & routing 2022-04-16 20:06:28 +03:00
README.md fix: instructions 2022-04-16 16:56:38 +03:00

"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