Try to move the package into a src file

This commit is contained in:
Andreas Zweili 2022-11-27 17:52:29 +01:00
parent e6d65d4dd0
commit 3d9077f423
232 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,7 @@ run: setup
( \
find . -name __pycache__ -o -name "*.pyc" -delete; \
sudo iptables -I INPUT -p tcp --dport 8000 -j ACCEPT; \
cd src/
python manage.py runserver 0.0.0.0:8000; \
)
@ -14,6 +15,7 @@ run: setup
setup:
( \
docker-compose -f docker-compose-development.yml up -d; \
cd src/
if [ -f .second_run ]; then \
sleep 2; \
python manage.py collectstatic --noinput; \

View File

@ -16,9 +16,13 @@
(final: prev: {
inventoryEnv = prev.poetry2nix.mkPoetryEnv {
projectDir = ./.;
editablePackageSources = {
inventory = ./src;
};
};
inventoryPackage = prev.poetry2nix.mkPoetryApplication {
projectDir = ./.;
src = ./src;
};
})
];

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Some files were not shown because too many files have changed in this diff Show More