requires Node.js > 4.0.0
npm install
cp api/config.example.json api/config.jsonnpm install
npm run build:production
# if you changed default api port
APIPORT=7001 npm run build:productionBuild artifacts places in /dist
npm install --production # install only server's packages
npm run server
# with port
APIPORT=7000 npm run serverRun server in pm2
npm install --global pm2
npm start
# with port
APIPORT=7001 npm startnpm run watch # one command for client and server
# change ports
APIPORT=7000 npm run watch
npm run watch:client
npm run watch:server
npm run clean # clean directory after build
npm run build # build client in development env