Skip to content

ecelis/celso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Congress

NextJS + next-auth + Face Identification

Copyrigth 2023 Ernesto Celis. Licensed under the terms of the Apache 2.0 License.

Dependencies

Getting Started

Install required libraries

conda create --name celso --file requirements.yml

MongoDB

Ru in docker

docker run -d -p 27017:27017 mongodb/mongodb-community-server:6.0.5-ubi8

Environment Variables

Create and edit .env file

cp env.sample .env

Setup environment

source bin/setenv.sh

Faces

Faces development

cd faces
conda activate celso
python3 bin/create_db.py
flask --debug run

Faces test

Debug output
cd faces
conda activate celso
pytest --no-header -v -rpP
Quiet
cd faces
conda activate celso
pytest --no-header -ra

WebUI

cd web
npm install
npm run dev

Open http://localhost:3000 with your browser to see the result.