Skip to content

Commit

Permalink
Fixed line endings (LF)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbiggs committed Jul 20, 2023
1 parent c2ef844 commit d79d27a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bash/bashrc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
3 changes: 2 additions & 1 deletion bash/dev-watch.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/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"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
nvm install
npm install
npm run dev:css &
npm run dev:js &
npm run dev:js &
1 change: 1 addition & 0 deletions bash/run-dev.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash

chmod a+x ./bash/dev-watch.sh
./bash/dev-watch.sh &
if [ "$AUTO_START_SERVER" = true ] ; then
Expand Down
3 changes: 2 additions & 1 deletion bash/run.sh
Original file line number Diff line number Diff line change
@@ -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
poetry run gunicorn config.wsgi:application --capture-output --workers 3 --threads 3 --log-level=DEBUG -b 0.0.0.0:8000

0 comments on commit d79d27a

Please sign in to comment.