To test the webapp locally without docker, you need to install the following dependencies:
Then, you can run the following commands:
npm install
npm run dev
This will start the webapp which will be available at http://localhost:8080/wis2box-webapp/
Run the following command to build the image:
docker build -t wis2box-webapp .
Test the result with the following command:
docker-compose -f tests/docker-compose.yml up -d
This will start the webapp which will be available at http://localhost:8080/wis2box-webapp/
# yarn
yarn
# npm
npm install
# pnpm
pnpm install
# yarn
yarn dev
# npm
npm run dev
# pnpm
pnpm dev
# yarn
yarn build
# npm
npm run build
# pnpm
pnpm build
# yarn
yarn lint
# npm
npm run lint
# pnpm
pnpm lint
# create release (x.y.z is the release version)
vi package.json # update "version"
vi package-lock.json # update 'version' and 'packages."".version
git commit -am 'update release version x.y.z'
git push origin main
git tag -a x.y.z -m 'tagging release version x.y.z'
git push --tags
# publish release on GitHub (https://github.com/wmo-im/wis2box-webapp/releases/new)
All bugs, enhancements and issues are managed on GitHub.