Skip to content

Commit 7b4bede

Browse files
committed
v5.168.15
1 parent bc948ea commit 7b4bede

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,18 +158,24 @@ $ NODE_ENV=production npm start
158158

159159
To deploy this app to production environment:
160160

161-
- Run `$ NODE_ENV=production npm install` on server
162-
- After the installation above, `postinstall` script will run automatically, building front-end related assets and rev-ed server code under `dist/` folder.
161+
- Run `$ NODE_ENV=development npm install` on server
162+
- After the installation above, then run `$ npm run build:production` which will build the front-end related assets and rev-ed server code under `dist/` folder.
163163

164164
- Kick off the server with:
165165

166-
` NODE_ENV=production NODE_PATH=./dist/server-build node dist/server-build/server`
166+
`$ npm run start:production`
167+
168+
- Once you're sure the server is operational, start the service with forever:
169+
170+
`$./start_service`
167171

168172
## Release History
169173
* v1.62 activity heat map
170174
* v1.72 display of terms of use and elastic search integration
171175
* v3.19 refactored server.js into routes and updated express 2.x to 4.x
172-
176+
* v3.21.15 migrated public urls from jade to handlebars
177+
* v5.4.21 migrated public urls from handlebars to react
178+
* v5.168.15 upgraded to node 12
173179

174180
## License
175181
Licensed under the Apache, 2.0 licenses.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fielddb-webserver",
3-
"version": "5.26.21",
3+
"version": "5.168.13",
44
"description": "Web site for FieldDB corpora pages.",
55
"homepage": "https://github.com/FieldDB/FieldDB/issues/milestones?state=closed",
66
"repository": {
@@ -73,7 +73,7 @@
7373
"lint:es6": "eslint --fix --ext .jsx --ext .js app bin",
7474
"start": "./bin/fielddb-web-server",
7575
"start:watch": "NODE_PATH=./app concurrently --kill-others \"nodemon ./bin/fielddb-web-server\" \"node webpack.server.js\" \"gulp css:watch\"",
76-
"start:production": "NODE_ENV=production PORT=8000 API_BASE_URL=http://localhost:8000 NODE_PATH=./app node bin/fielddb-web-server",
76+
"start:production": "NODE_ENV=production ./bin/fielddb-web-server",
7777
"test": "NODE_ENV=test mocha test/**/*-spec.js",
7878
"test:ci": "NODE_ENV=test NODE_PATH=./app mocha --compilers js:babel-register -r app/spec/support/setup.mocha.js --recursive 'app/**/*.test.js'",
7979
"test:site": "node test/integration/links.js",

0 commit comments

Comments
 (0)