Install
Frontend
- Clone the repo
- CD webpack-5
npm install-
Pre build configs:
-
If you wish to use the
placement toolyou need to configure the models to be used pre build. Theplacement toolrequires frontend. -
For the
searchbaryou may set the appropriateapiBaseUrlinwebpack.config.js. The searchbar and the backend expects the following columns:- td_adress
- td_kommund
-
Geometry (points in WGS 84)
-
schema.table setup is expected to be addresses.addresses_p
The above parameter may be changed to fit your set-up. Future updates will hopefully move these configs to the config files for easier set-up. The
searchbarrequires frontend and backend. -
The
forms toolrequire the backend to be set up
-
-
Run:
npm run buildand now the application is built and should be ready to be hosted - Configure the
index.jsonfile - Host the app
Backend
Backend installation guide can be found here