AI flow control backend
Install dependency
yarn install
Start webpack dev server
yarn dev
Run the following command, it tar.gz
package of back-end will be created
yarn build
Start backend service
yarn install
yarn start
or
pm2 start yarn -- start
PM2 is a production process manager for Node.js applications with a built-in load balancer. It allows you to keep applications alive forever, to reload them without downtime and to facilitate common system admin tasks.
run following command, check whether you could get a response successfully
wget http://localhost:5000/api/v1.0/greeting
curl http://localhost:5000/api/v1.0/greeting # on mac
Test Jenkins on new server.