Added real frontend

Made hostname global and easy to change in docker
This commit is contained in:
2022-06-21 17:48:34 +02:00
parent abdce7b103
commit e5b4d2c3f3
56 changed files with 31491 additions and 27034 deletions

17
init.sh
View File

@@ -1,4 +1,17 @@
#! /bin/sh
mkdir /doc
cp swagger.yaml /doc
#envsubst < ./frontend/src/arne.js
sed -i 's^$HOSTNAME^'"$HOSTNAME"'^g' ./frontend/src/arne.js
cat ./frontend/src/arne.js
cd ./frontend/
npm install
npm run build
cd ..
./MusicServer