etrainu-{serviceName}
To run locally you need to perform the following:
npm i
- Make sure you have nodemon installed:
npm i -g nodemon
- Edit the
default.json
in theconfig
directory as you see fit. npm run build:local
- this will trigger webpack and start the server on localhost:5051
To build for dev/prod:
npm run build
- This will use the normal webpack.config and bundle into
dist
- Make sure you have the {env}.json setup under
config
and thebitbucket-pipelines.yml
updated.