jsreport / jsreport-core

The minimalist jsreport rendering core
GNU Lesser General Public License v3.0
86 stars 24 forks source link

default to development mode #3

Closed bjrmatos closed 8 years ago

bjrmatos commented 8 years ago

just to keep track what we have discussed in other comments

pofider commented 8 years ago

jsreport-core

jsreport

PRODUCTION INSTALLATION

npm install jsreport --production
node node_modules/jsreport --init
npm start --production

DEVELOPMENT INSTALLATION

npm install jsreport 
node node_modules/jsreport --init
npm start

The current users using command node server.js to start the server likely won't get the expected configuration but I guess it will be very visible from the log that the development environment is applied and especially the port is different. I guess it is not big problem.

pofider commented 8 years ago

This should be ready now. As said in the comment, the change is not that dramatic, we can include it in the 0.12

bjrmatos commented 8 years ago

excellent!