-
-
Notifications
You must be signed in to change notification settings - Fork 974
Description
Hello,
We are maintaining a YunoHost package for FossFLOW, which allows installing the app without Docker.
The last working build dates back from early July (although we probably missed a few other potentially working versions since then) and I am now working on a package adapted to FossFLOW's new monorepo architecture.
It consists of scripts specific to how YunoHost works, but here is basically what it does (inspired by the app's Dockerfile):
git clone https://github.com/stan-smith/FossFLOW.git
cd FossFLOW
npm install -g [email protected]
npm install
PUBLIC_URL="https://mydomain.tld/fossflow" npm run build
mv packages/fossflow-app/build app
mkdir -p app/backend
mv packages/fossflow-backend/* app/backend
mv app /var/www/fossflow
pushd "/var/www/fossflow/backend"
npm install --production
popd
#add nginx config
#add backend service with required environment variables and start it.I did not detail the commands related to nginx and the backend because they are specific to Yunohost and seem to work fine (as per the logs).
However the app page shows a white screen. Page and files are loaded but the console shows the following warning:
<Router basename="/https://mydomain.tld/fossflow"> is not able to match the URL "/fossflow/" because it does not start with the basename, so the <Router> won't render anything.
I suspect a bug in the support of PUBLIC_URL which used to work previously. Would you have some clues?