From 5a918d078e75c7cc59e0719cb866568896e2e73f Mon Sep 17 00:00:00 2001 From: thecookingsenpai Date: Wed, 31 Jan 2024 19:59:36 +0100 Subject: [PATCH] added some handy launchers --- .gitignore | 3 ++- build.sh | 2 +- dev_build.sh | 2 +- run | 3 +++ 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100755 run diff --git a/.gitignore b/.gitignore index 0e5621e..24ff742 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,5 @@ logs.txt TODO.md testdata.py -test.py \ No newline at end of file +test.py +nohup.out diff --git a/build.sh b/build.sh index ba065e0..ba5c7ed 100755 --- a/build.sh +++ b/build.sh @@ -12,7 +12,7 @@ rm -rf build dist # REVIEW Install poetry & requirements -pip install poetry +poetry || pip install poetry poetry install --no-root # Build the app diff --git a/dev_build.sh b/dev_build.sh index 09adbb8..edc8e95 100644 --- a/dev_build.sh +++ b/dev_build.sh @@ -3,8 +3,8 @@ # builds the latest version of the client and server +# NOTE Changes directory to the webclient directory and builds it cd ../swingmusic-client || exit # REVIEW Failsafe exit - yarn build --outDir ../swingmusic/client cd ../swingmusic || exit # REVIEW Failsafe exit diff --git a/run b/run new file mode 100755 index 0000000..4795296 --- /dev/null +++ b/run @@ -0,0 +1,3 @@ +#!/bin/bash + +poetry run python manage.py