first commit
This commit is contained in:
commit
4b18035fd5
3 files changed
+32
No files matched your search
@@ -0,0 +1,7 @@
|
|||||||
|
flask==3.1.2
|
||||||
|
python-dotenv
|
||||||
|
flask-cors==4.0.0
|
||||||
|
psycopg-binary==3.2.10
|
||||||
|
loguru
|
||||||
|
pydantic
|
||||||
|
gunicorn
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
|
||||||
|
pkgs.mkShell {
|
||||||
|
buildInputs = with pkgs; [
|
||||||
|
python3
|
||||||
|
ruff
|
||||||
|
pyright
|
||||||
|
];
|
||||||
|
|
||||||
|
shellHook = ''
|
||||||
|
if [ ! -d ".venv" ]; then
|
||||||
|
python -m venv .venv
|
||||||
|
fi
|
||||||
|
|
||||||
|
source .venv/bin/activate
|
||||||
|
|
||||||
|
if [ -f "requirements-dev.txt" ]; then
|
||||||
|
pip install -r requirements-dev.txt
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "dependencies.txt" ]; then
|
||||||
|
pip install -r dependencies.txt
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
}
|
||||||
Reference in new issue
Block a user