/vergunningcheck

Primary LanguageJavaScriptMIT LicenseMIT

Amsterdam Vergunningschecker

Frontend vergunningschecker voor de nieuwe omgevingswet

Requirements

Installation

Install all dependencies:

yarn

Development

Create a new feature branch from the develop branch.

Start the application:

yarn start

Open the application in your browser at localhost:3000.

Happy developing

Releasing

These are the steps when you're ready to release a new version.

Checkout and pull all the changes from the develop branch:

git checkout develop && git pull origin develop

Run the release script:

yarn run release

Adjust the CHANGELOG if you want

open CHANGELOG.md

Push the release tags:

git push origin --tags

Push the release:

git push

Merge the PR develop with master

Deployment

After a new release is merged with master, log in to the CI job VergunningsChecker.

Make sure the acceptance environment is tested before you proceed 👌!

Select master and wait until the swimlane Waiting for approval is active. When active, press it and press Proceed in the small popup with the question Deploy to production?.

🏁

Check Webpack stats

Check the statistics of the bundle sizes.

Run:

yarn build:stats

And upload the generated stats.json to Webpack Visualizer

Run dockerfile locally

Run:

docker build -t vergunningschecker .
docker run -p8083:80 -i -t vergunningschecker

Now open http://localhost:8083/intern-verbouwen/locatie

To enter the docker image:

docker ps
docker exec -it [container-id] sh

Techniques used

Conventions used

Netlify

Added Netlify

Thanks to

BrowserStack Logo