microservice for yff programomrader
$ npm run update-vg3
$ npm run update-vg2
$ npm run update-vg1
Get a list of all utdanningsprogrammer for yff
$ curl -v https://yff.service.minelev.no/utdanningsprogrammer
Get a spesific utdanningsprogram
$ curl -v https://yff.service.minelev.no/utdanningsprogrammer/ba-vg3
Add a local .env
file
NODE_ENV=development
PAPERTRAIL_HOSTNAME=yff
PAPERTRAIL_HOST=papertrail-host
PAPERTRAIL_PORT=papertrail-port
Start the development environment
$ now dev
Change content of production.env to match your environment.
Change content of now:alias in package.json to match your domains.
Deploy service.
$ npm run deploy
Do a tagged release