Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Commit de32ed3

Browse files
committed
Merge remote-tracking branch 'origin/master'
Conflicts: .gitignore dashboard.tar.gz digexp-dashboard/postinstall.js
2 parents 0fd46cf + fa34986 commit de32ed3

7 files changed

Lines changed: 19 additions & 10 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ The Dashboard tool uses the nw.js package to implement the user interface, and o
1919
# Installation
2020
You must first install Node.js. Node.js version 0.12 is the tested and recommended version.
2121

22-
Download the digexp-toolkit.zip file from https://github.com/OpenNTF/WebDevToolkitForDx/blob/master/release/digexp-toolkit.zip and unzip it on your workstation. Then run install.cmd (Windows) or install.sh (Mac/Linux). This will install the two main programs, dxdashboard (for the dashboard UI) and dxwcmdesigns (the command line support for accessing WCM design libraries). That completes the installation.
22+
Download the digexp-toolkit.zip file from here: https://github.com/OpenNTF/WebDevToolkitForDx/blob/master/release/digexp-toolkit.zip?raw=true
23+
24+
Extract the file on your workstation. Then run install.cmd (Windows) or install.sh (Mac/Linux). This will install the two main programs, dxdashboard (for the dashboard UI) and dxwcmdesigns (the command line support for accessing WCM design libraries). That completes the installation.
2325

2426
For the Script Portlet "Push" support, you will need to have the Script Portlet command line client support installed and configured, and you will need to have the "sp" command on your system path. See this documentation for more on installing the Script Portlet command line client: http://www-01.ibm.com/support/knowledgecenter/SSHRKX_8.5.0/script/script-portlet/cmd_line_push.dita
2527

digexp-dashboard/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"async": "^1.3.0",
2626
"chokidar": "^1.0.3",
2727
"diff": "^1.4.0",
28+
"dxsync": "https://github.com/digexp/dxsync/archive/1.0.2.tar.gz",
2829
"digexp-wcm-design": "file:../wcm-design.tar.gz",
2930
"findit": "",
3031
"map-stream": "0.0.6",
@@ -37,6 +38,10 @@
3738
"vinyl": "^0.5.0",
3839
"vinyl-fs": "^1.0.0"
3940
},
41+
"config": {
42+
"unsafe-perm": true,
43+
"no-optional": true
44+
},
4045
"scripts": {
4146
"preinstall": "node preinstall.js",
4247
"postinstall": "node postinstall.js"

digexp-dashboard/preinstall.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ var fs = require("fs");
1212
var ch = require("child_process");
1313

1414
ch.exec("npm root -g", function(err, root) {
15+
root = root || process.env._;
16+
console.log(root);
1517
if (root) {
1618
root = root.replace(/\n|\r/g, "");
1719
fs.readFile(path.resolve(root, "digexp-dashboard/user-settings.json"),

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const SP_SERVER = "./digexp-sp-server";
2121
var getFileList = function(folder) {
2222
// todo read gitignore, npmignore
2323
return [folder + "/**", "!" + folder + "/.git/**", "!" + folder + "/node_modules/**",
24-
"!" + folder + "/node_modules/", "!" + folder + "/.idea/**", "!" + folder + "/user-settings.json"];
24+
"!" + folder + "/node_modules/", "!" + folder + "/.idea/**", "!" + folder + "/user-settings.json", + "!" + folder + "/**.*~"];
2525
};
2626

2727
var npm_pack = function(folder, dest) {
@@ -66,4 +66,4 @@ gulp.task("watch_sp-server", function() {
6666

6767
gulp.task("watch", ['watch_wcm', 'watch_sp-server', 'watch_dashboard'])
6868

69-
gulp.task('default', ['pack', 'watch']);
69+
gulp.task('default', ['pack', 'watch']);

install.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
call npm install -g wcm-design.tar.gz
2-
call npm install -g dashboard.tar.gz
2+
call npm install -g --unsafe-perm --no-optional dashboard.tar.gz
33
call npm install -g nw

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
npm install -g wcm-design.tar.gz
2-
npm install -g dashboard.tar.gz
2+
npm install -g --unsafe-perm --no-optional dashboard.tar.gz
33
npm install -g nw

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "diggexp-toolkit",
2+
"name": "digexp-toolkit",
33
"version": "0.1.0",
44
"devDependencies": {
55
"grunt": "latest",
66
"grunt-contrib-compress": "latest",
7-
"gulp": "latest",
8-
"gulp-tar": "latest",
9-
"gulp-gzip": "latest",
10-
"map-stream": "latest"
7+
"gulp": "^3.9.0",
8+
"gulp-gzip": "^1.2.0",
9+
"gulp-tar": "^1.4.0",
10+
"map-stream": "0.0.6"
1111
}
1212
}

0 commit comments

Comments
 (0)