ItamarWMDE created this task. ItamarWMDE added projects: wmde-wikidata-tech, Wikidata, Wikidata Query Builder. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION **Problem** Setting a port configuration in the `.env` file provided with the codebase does not change in the port the development server is accessible from. **Steps to reproduce** 1. In your local query builder development environment, set the `PORT` value to 1234 2. Run the development server using docker compose: `docker compose dev up` **Current behavior** The development server is not accessible from `localhost:1234` **Expected behavior** The development server is accessible from `localhost:1234` **Notes:** - This seems to have occurred as a result of the migration to `vite` as a development task runner. - While changing the "serve" script in `package.json` to the following might work as a temporary solution, we still want to make sure that test and other scripts also work as expected (especially e2e tests): name=package.json "serve": "eval $(grep '^PORT' .env) && vite --config vite.config.js --port ${PORT:-8080}" TASK DETAIL https://phabricator.wikimedia.org/T330160 WORKBOARD https://phabricator.wikimedia.org/project/board/5864/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ItamarWMDE Cc: Aklapper, ItamarWMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, Akuckartz, Michael, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org