Skip to content

Commit 72f1d6f

Browse files
committed
[deploy] Fix deployment issues
1 parent 19b7b6c commit 72f1d6f

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.openshift/action_hooks/pre_build

100644100755
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/usr/bin/env bash
22

3-
# this install all dependencies + devDevdependencies
3+
cd "${OPENSHIFT_REPO_DIR}"
4+
5+
# this installs all dependencies + devDevdependencies
46
NODE_ENV=development npm install
57

68
# building files
7-
npm build
9+
npm run build

.openshift/action_hooks/pre_start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
22

33
# this starts the logentries agent
4-
./${OPENSHIFT_DATA_DIR}/start-le
4+
${OPENSHIFT_DATA_DIR}/start-le

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"build": "grunt build",
7-
"postinstall": "bower install",
7+
"postinstall": "HOME=${BOWER_HOME:-${HOME}} bower install",
88
"start": "forever app.js",
99
"start-dev": "DEBUG=mmtc-ke:* nodemon app.js",
1010
"test": "echo no tests!!!"

0 commit comments

Comments
 (0)