add script to build binary localy

This commit is contained in:
mungai-njoroge 2023-11-01 23:48:56 +03:00
parent 2321288be0
commit 9c0d4e91de
2 changed files with 10 additions and 0 deletions

View File

@ -43,3 +43,5 @@ def check_lyrics():
if exists:
return {"filepath": filepath}, 200
return {"filepath": None}

8
build.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/zsh
# builds the latest version of the client and server
cd ../swingmusic-client
yarn build --outDir ../swingmusic/client
cd ../swingmusic
poetry run python manage.py --build