diff --git a/bash/bashrc.sh b/bash/bashrc.sh index 1400b410a..e0b89d6dc 100755 --- a/bash/bashrc.sh +++ b/bash/bashrc.sh @@ -4,4 +4,4 @@ alias djtest="python manage.py test --settings=config.settings.dev" export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm -[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion \ No newline at end of file +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion diff --git a/bash/dev-watch.sh b/bash/dev-watch.sh index d09b1110f..e97b7e764 100755 --- a/bash/dev-watch.sh +++ b/bash/dev-watch.sh @@ -1,4 +1,5 @@ #!/bin/bash + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" @@ -6,4 +7,4 @@ export NVM_DIR="$HOME/.nvm" nvm install npm install npm run dev:css & -npm run dev:js & \ No newline at end of file +npm run dev:js & diff --git a/bash/run-dev.sh b/bash/run-dev.sh index 4e617ff83..714051179 100755 --- a/bash/run-dev.sh +++ b/bash/run-dev.sh @@ -1,4 +1,5 @@ #!/bin/bash + chmod a+x ./bash/dev-watch.sh ./bash/dev-watch.sh & if [ "$AUTO_START_SERVER" = true ] ; then diff --git a/bash/run.sh b/bash/run.sh index 33cf4e289..9dfedde44 100755 --- a/bash/run.sh +++ b/bash/run.sh @@ -1,3 +1,4 @@ #!/bin/bash + poetry run python manage.py migrate -poetry run gunicorn config.wsgi:application --capture-output --workers 3 --threads 3 --log-level=DEBUG -b 0.0.0.0:8000 \ No newline at end of file +poetry run gunicorn config.wsgi:application --capture-output --workers 3 --threads 3 --log-level=DEBUG -b 0.0.0.0:8000