File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
server/src/config/constants Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ It also uses Gulp for running task and TsLint.The seed application is built over
2020## Steps to Run
2121``` sh
2222 npm install < = install all the npm Dependencies
23- npm run build < = build client and server application.
24- npm run start < = start the Nodemon and watch for changes.
23+ npm run deploy < = start the Nodemon and watch for changes.
2524```
2625
2726## Global packages
Original file line number Diff line number Diff line change 66 "clean" : " gulp clean" ,
77 "compile" : " gulp compile" ,
88 "build" : " gulp build" ,
9- "start " : " concurrent --kill-others \" gulp watch\" \" gulp start\" " ,
10- "postinstall" : " gulp installTypings" ,
9+ "deploy " : " concurrent --kill-others \" gulp watch\" \" gulp start\" " ,
10+ "postinstall" : " gulp installTypings && gulp build " ,
1111 "test" : " echo \" Error: no test specified\" && exit 1"
1212 },
1313 "repository" : {
Original file line number Diff line number Diff line change 33 */
44
55class Constants {
6- static DB_CONNECTION_STRING : string = "mongodb://localhost:27017/quickStart"
6+ static DB_CONNECTION_STRING : string = process . env . NODE_ENV === 'production' ? process . env . dbURI : "mongodb://localhost:27017/quickStart"
77}
88Object . seal ( Constants ) ;
99export = Constants ;
You can’t perform that action at this time.
0 commit comments