commit | c68c7f857c3863fdf2c4407b7e4984602ffc374e | [log] [tgz] |
---|---|---|
author | bitPogo <[email protected]> | Mon Nov 12 17:16:31 2018 +0100 |
committer | wiese <[email protected]> | Thu Nov 15 14:02:58 2018 +0100 |
tree | 5c5a5d330870b93428ce97c11f677a431589dbcb | |
parent | f4d66cbee50e22bbda06284ad3f09ddf2043d3e8 [diff] |
Merge tsconfigs This patch moves all tsconfigs to the root level and set up a base file (tsconfig.base.json), which the server (tsconfig.server.json) and client (tsconfig.json) are extending for there specific purposes.
User interface for managing terms in Wikibase
# ensure the node user uses your user id, so you own generated files docker-compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g) node
# install npm dependencies docker-compose run --rm node npm install
cp .env.example .env
and modify .env
accordinglySSR_PORT
is the port at which you can reach the node server performing server-side vue renderingMEDIAWIKI_NETWORK_TO_JOIN
is the (local docker) network the SSR service should also be attached to in order to make it available to wikibase. The SSR service can be reached inside of this network at http://node-ssr:<SSR_PORT from your .env file>. This can be used in conjunction with e.g. https://github.com/addshore/mediawiki-docker-dev/⚠ Some versions of
docker-compose
insist this network exists. Make sure to set this value to an existing docker network (either created by anotherdocker-compose
project or you manually) - check viadocker network ls
CSR_PORT
is the port at which you can reach the development serverNODE_ENV
is the environment to set for node.jsdocker-compose run --rm node npm run build
builds the frontend codedocker-compose run --rm node npm run build-server
builds the server-side manifest and the node entry pointdocker-compose up
starts two serversdocker-compose run --rm node npm run test
runs all testsdocker-compose run --rm node npm run lint
for linting, docker-compose run --rm node npm run fix
for fixing fixable lint errors