GreenMap Website

Nuxt Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn run dev

# build for production and launch server
$ yarn run build
$ yarn start

# generate static project
$ yarn run generate

For detailed explanation on how things work, checkout Nuxt.js docs.

Environment Variables

COMPOSE_PROJECT_NAME=greenmap
MAPBOX_TILE_SERVER=<url>
OSM_TILE_SERVER=<url>
API_URL=http://localhost:8080/api

Development

yarn dev

Production

yarn build
docker-compose up