Move the dev script to tooling/bin
This commit is contained in:
parent
382c81ecfd
commit
d7439d41bc
|
@ -153,7 +153,6 @@ ENV/
|
|||
# Rope project settings
|
||||
.ropeproject
|
||||
|
||||
bin/
|
||||
/lib64
|
||||
/pyvenv.cfg
|
||||
share/
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue