Skip to content

knorjador/legendimg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installer les dépendances

pip install -r requirements.txt

Lancer Flask

Dans le dossier web

# db 
flask db init
flask db migrate -m "Initial migration"
flask db upgrade

# lancer flask
flask run 

goto: http://localhost:5000

Lancer FastApi

Dans le dossier api

Renommer .env.example en .env

# generate secret key && paste it in .env
openssl rand -hex 32

# lancer fastapi
uvicorn main:app --reload

goto: http://localhost:8000

Figer les dépendances

pip freeze > requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published