IBM-Cloud / insurance-bot

A message based insurance experience
http://cloudco.mybluemix.net
Other
36 stars 57 forks source link

Add dashboard to dev pipeline #106

Closed l2fprod closed 8 years ago

l2fprod commented 8 years ago

@colbycheeze @rvennam

what are the steps to build the app?

npm install? something else?

what are the steps to run the app? npm start?

colbycheeze commented 8 years ago

Sure I can add that. For now it's just cf push and the defaults for the buildpack take care of everything by doing:

npm install
npm start
l2fprod commented 8 years ago

@colbycheeze

with npm install and npm start, I get a 404 "Not found" (NODE_ENV is set to production in the manifest.mf).

So in the BUILD step of the pipeline, I run npm deploy:prod to build the webpack in dist. Then in the DEPLOY step, just cf push. It is live: https://dev-cloudco-insurance-dashboard.mybluemix.net/