Move the dev script to tooling/bin

This commit is contained in:
Andreas Zweili 2024-03-11 16:20:54 +01:00
parent 382c81ecfd
commit d7439d41bc
3 changed files with 1 additions and 2 deletions

1
.gitignore vendored
View File

@ -153,7 +153,6 @@ ENV/
# Rope project settings
.ropeproject
bin/
/lib64
/pyvenv.cfg
share/

View File

@ -33,12 +33,12 @@
modules = [
{
enterShell = ''
export PATH=$PATH:$DEVENV_ROOT/tooling/bin/
export PGPORT=$(($WEBPORT + 100))
export PROJECT_DIR=$(pwd)
export WEBPORT=$(($RANDOM + 1100))
ln -sf ${config.process-managers.process-compose.configFile} ${config.env.DEVENV_ROOT}/process-compose.yml
'';
packages = [ (pkgs.writeScriptBin "dev" "${builtins.readFile ./dev.sh}") ];
env = {
DJANGO_SETTINGS_MODULE = "network_inventory.settings.local";
PYTHON_KEYRING_BACKEND = "keyring.backends.fail.Keyring";