Fix paths after legacy rename

This commit is contained in:
jo 2021-10-06 17:32:14 +02:00
parent ca21225fb9
commit c4c89eae19
23 changed files with 47 additions and 47 deletions

2
.github/RELEASE.md vendored
View file

@ -107,7 +107,7 @@ The UI works best if you don't use it in an opinionated fashion and change just
If you want a secure environment you should work through the preparing the server docs (up until the dragons) and be prepared to fix some of the issues the installer gets wrong manually by hacking the config file after the fact.
If you want to skip the installer GUI completely you can configure LibreTime using airtime_mvc/build/airtime.example.conf as an template. Due to some python/PHP differences you must remove all comments from the example to use it 😞. You'll also have to create some folder structures manually and check if the music dir got properly created directly in the database. Referencing a second `install -fiap` install on a non productive system for reference can help with this type of bootstrap.
If you want to skip the installer GUI completely you can configure LibreTime using legacy/build/airtime.example.conf as an template. Due to some python/PHP differences you must remove all comments from the example to use it 😞. You'll also have to create some folder structures manually and check if the music dir got properly created directly in the database. Referencing a second `install -fiap` install on a non productive system for reference can help with this type of bootstrap.
### Media-Monitor config needs manual removing

View file

@ -28,7 +28,7 @@ echo -n "${suffix}" > ./VERSION
echo " Done"
echo -n "Running composer install..."
pushd airtime_mvc || (echo "could not cd in airtime_mvc!" && exit 1)
pushd legacy || (echo "could not cd in legacy!" && exit 1)
composer install --quiet --no-dev --ignore-platform-reqs
popd || exit
echo " Done"
@ -36,8 +36,8 @@ echo " Done"
# Adding back; may be useful later...
#echo "Minimizing LibreTime Javascript files..."
#cd $dir
#find $target/airtime_mvc/public/js/airtime/ -iname "*.js" -exec bash -c 'echo {}; jsmin/jsmin < {} > {}.min' \;
#find $target/airtime_mvc/public/js/airtime/ -iname "*.js" -exec mv {}.min {} \;
#find $target/legacy/public/js/airtime/ -iname "*.js" -exec bash -c 'echo {}; jsmin/jsmin < {} > {}.min' \;
#find $target/legacy/public/js/airtime/ -iname "*.js" -exec mv {}.min {} \;
#echo "Done"
cd ..
@ -52,7 +52,7 @@ tar -czf "libretime-${suffix}.tar.gz" \
--exclude .travis.yml \
--exclude travis \
--exclude dev_tools \
--exclude airtime_mvc/vendor/phing \
--exclude airtime_mvc/vendor/simplepie/simplepie/tests \
--exclude legacy/vendor/phing \
--exclude legacy/vendor/simplepie/simplepie/tests \
libretime
echo " Done"

View file

@ -89,7 +89,7 @@ jobs:
sudo mkdir -p "$LIBRETIME_LOG_DIR"
sudo chown runner:runner "$LIBRETIME_LOG_DIR"
make test
working-directory: airtime_mvc
working-directory: legacy
# Start lint the code without failing the entire workflow, should be merged
# into 'test' when the entire matrix succeeds.