2.1.0 • Published 10 years ago
dink-interface v2.1.0
Dink Dink Web Interface
Build Process:
npm installto install project dependenciesnpm install webpack -gif you don't have webpack available as a global moduleNODE_ENV=production webpackto transpile and bundle application assets. Webpack uses the node env flag to switch between app entry points. This prevents regular builds from attempting to open a websocket with a dev server.
React Hot Loading && REST API Server
nodemon server/index.jsto start the development server. Default port is 9090. Port can be changed with PORT env variable.node server/dev-server.jsto start the webpack dev server with react hot loader.