feat(app): Initialize flask app

This commit is contained in:
Black_Raven committed 2025-12-27 01:31:07 +03:00
1 parent 20d3a8e2bc
commit 837fb6e878
5 files changed
+50

No files matched your search

+25
View File
@@ -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
'';
}