Prerequisites:
- docker
- docker compose
- git
git clone https://github.com/osmItalia/estratti_OSM_Italia.git
cd estratti_OSM_Italia
docker compose up
It is suggested to use nix
or nix-portable
to create an environment with the dependencies installed
nix-shell --pure
cd backend
make setup
make pbf
make -j$(nproc)
make webapp
Configure NGINX by customizing nginx/default.conf
. Adjust src/configuration.json
if needed (read more at webapp/README.md
).
cd webapp/
npm install
npm run build
The contents of build/
should be served by NGINX.