mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
Organization and usefulness for the final user
This commit is contained in:
@@ -1,9 +1,19 @@
|
|||||||
#!/bin/zsh
|
#!/bin/bash
|
||||||
|
# REVIEW Above: bash is way more compatible than other shells
|
||||||
|
|
||||||
# builds the latest version of the client and server
|
# builds the latest version of the client and server
|
||||||
|
|
||||||
cd ../swingmusic-client
|
# REVIEW These are not useful if you dont have the source code
|
||||||
yarn build --outDir ../swingmusic/client
|
#cd ../swingmusic-client
|
||||||
|
#yarn build --outDir ../swingmusic/client
|
||||||
|
#../swingmusic
|
||||||
|
|
||||||
cd ../swingmusic
|
# REVIEW Cleaning up
|
||||||
|
rm -rf build dist
|
||||||
|
|
||||||
|
# REVIEW Install poetry & requirements
|
||||||
|
pip install poetry
|
||||||
|
poetry install --no-root
|
||||||
|
|
||||||
|
# Build the app
|
||||||
poetry run python manage.py --build
|
poetry run python manage.py --build
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# REVIEW Above: bash is way more compatible than other shells
|
||||||
|
|
||||||
|
# builds the latest version of the client and server
|
||||||
|
|
||||||
|
cd ../swingmusic-client || exit # REVIEW Failsafe exit
|
||||||
|
|
||||||
|
yarn build --outDir ../swingmusic/client
|
||||||
|
cd ../swingmusic || exit # REVIEW Failsafe exit
|
||||||
|
|
||||||
|
# REVIEW Optional cleaning up
|
||||||
|
# rm -rf build dist
|
||||||
|
|
||||||
|
# REVIEW Install poetry & requirements
|
||||||
|
# Build the app
|
||||||
|
poetry run python manage.py --build
|
||||||
Reference in New Issue
Block a user