No description
- PureBasic 98.8%
- JavaScript 0.5%
- Python 0.4%
- SCSS 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| backend | ||
| frontend | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| deployer.sh | ||
| docker-compose.yml | ||
| README.md | ||
"Faceprints"
Running & Deploying
Local (backend standalone, debug mode)
- start the server with (from the
backendfolder)
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
frontendfolder)
npm run start
Local (with docker)
- 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
Server
- pull & start the server, using latest images (aka images from master):
cd ~/faceprints
sh ./deployer.sh
- pull & start the server, using
brach-nameimages:
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
-doption