Skip to content

dbca-wa/gokart

Repository files navigation

gokart

An engine for specialty mapping applications written with OpenLayers 3 and Vue.js.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build
git commit -am "new point release"
git tag -a "vX.XX"
git push --tags

# lint all *.js and *.vue files
npm run lint

# run unit tests
npm test

# installation version required for npm install / npm run build
npm: 6.14.16
node 8.10.0

npm install [email protected]
curl -fsSL https://deb.nodesource.com/setup_8.x | sudo -E bash -
apt-get install -y nodejs

Regard node/npm versions, v8.* should work (lts/carbon). nvm can assist, e.g.:

nvm install lts/carbon
nvm use lts/carbon
npm --version
> 6.13.4
node --version
> v8.17.0