ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-843 Minor.
Date Thu, 03 Dec 2015 03:48:19 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc2 78eace050 -> 7012a33fc


IGNITE-843 Minor.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/7012a33f
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/7012a33f
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/7012a33f

Branch: refs/heads/ignite-843-rc2
Commit: 7012a33fc392c04cf735892d9cc1f7ce8ce0df12
Parents: 78eace0
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Thu Dec 3 10:48:58 2015 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Thu Dec 3 10:48:58 2015 +0700

----------------------------------------------------------------------
 modules/control-center-web/DEVNOTES.txt         | 22 ++++++++++++--------
 .../src/main/js/gulpfile.js/tasks/bundle.js     |  8 +++----
 .../src/main/js/gulpfile.js/tasks/connect.js    |  2 +-
 modules/control-center-web/src/main/js/serve.js |  2 +-
 4 files changed, 19 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/7012a33f/modules/control-center-web/DEVNOTES.txt
----------------------------------------------------------------------
diff --git a/modules/control-center-web/DEVNOTES.txt b/modules/control-center-web/DEVNOTES.txt
index 55620b9..42120c9 100644
--- a/modules/control-center-web/DEVNOTES.txt
+++ b/modules/control-center-web/DEVNOTES.txt
@@ -5,7 +5,7 @@ How to deploy:
 
 1. Install locally NodeJS using installer from site https://nodejs.org for your OS.
 2. Install locally MongoDB follow instructions from site http://docs.mongodb.org/manual/installation
-3. Checkout ignite-843 branch.
+3. Checkout ignite-843-rc2 branch.
 4. Change directory '$IGNITE_HOME/modules/control-center-web/src/main/js'.
 5. Run "npm install" in terminal for download all dependencies.
 6. Build ignite-web-agent module follow instructions from 'modules/control-center-agent/README.txt'.
@@ -13,12 +13,16 @@ How to deploy:
 
 Steps 1 - 5 should be executed once.
 
-How to run:
+How to run console in development mode:
 
-1. Run MongoDB.
- 1.1 In terminal change dir to $MONGO_INSTALL_DIR/server/3.0/bin.
- 1.2 Run "mongod".
-2. In new terminal change directory '$IGNITE_HOME/modules/control-center-web/src/main/js'.
-3. Start application by executing "npm start".
-4. Start "gulp connect" to run virtual server
-5. In browser open: http://localhost:8080
+1. In terminal change dir to $MONGO_INSTALL_DIR/server/3.0/bin
+  and start MongoDB by executing "mongod".
+
+2. In new terminal change directory '$IGNITE_HOME/modules/control-center-web/src/main/js'
+  and start application by executing "npm start".
+
+3. In new terminal change directory '$IGNITE_HOME/modules/control-center-web/src/main/js'
+ and start virtual server and local changes watcher by executing "gulp watch"
+ or "gulp connect" to start virtual server only.
+
+4. In browser open: http://localhost:8080

http://git-wip-us.apache.org/repos/asf/ignite/blob/7012a33f/modules/control-center-web/src/main/js/gulpfile.js/tasks/bundle.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/gulpfile.js/tasks/bundle.js b/modules/control-center-web/src/main/js/gulpfile.js/tasks/bundle.js
index a21bdf8..09dad7a 100644
--- a/modules/control-center-web/src/main/js/gulpfile.js/tasks/bundle.js
+++ b/modules/control-center-web/src/main/js/gulpfile.js/tasks/bundle.js
@@ -41,7 +41,7 @@ gulp.task('bundle', function(cb) {
 	return sequence('bundle:ignite', 'bundle:legacy', cb);
 });
 
-// Package all external dependencies and ignite-console
+// Package all external dependencies and ignite-console.
 gulp.task('bundle:ignite', function() {
 	if (util.env.debug) {
 		delete options.minify;
@@ -58,13 +58,13 @@ gulp.task('bundle:ignite', function() {
 gulp.task('bundle:legacy', function() {
 	return gulp.src(legacy_paths)
 		.pipe(concat('all.js'))
-		.pipe(gulp.dest('./build'))
+		.pipe(gulp.dest('./build'));
 });
 
 gulp.task('bundle:ignite:watch', function() {
-	return gulp.watch(paths, ['bundle:ignite'])
+	return gulp.watch(paths, ['bundle:ignite']);
 });
 
 gulp.task('bundle:legacy:watch', function() {
-    return gulp.watch(legacy_paths, ['bundle:legacy'])
+    return gulp.watch(legacy_paths, ['bundle:legacy']);
 });

http://git-wip-us.apache.org/repos/asf/ignite/blob/7012a33f/modules/control-center-web/src/main/js/gulpfile.js/tasks/connect.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/gulpfile.js/tasks/connect.js b/modules/control-center-web/src/main/js/gulpfile.js/tasks/connect.js
index f653975..b5886f4 100644
--- a/modules/control-center-web/src/main/js/gulpfile.js/tasks/connect.js
+++ b/modules/control-center-web/src/main/js/gulpfile.js/tasks/connect.js
@@ -24,7 +24,7 @@ var options = {
 	middleware: function (connect, opt) {
 		return [modrewrite([
 			'^/api/v1/(.*)$ http://localhost:3000/$1 [P]' 
-		])]
+		])];
     },
     fallback: './build/index.html'
 };

http://git-wip-us.apache.org/repos/asf/ignite/blob/7012a33f/modules/control-center-web/src/main/js/serve.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/serve.js b/modules/control-center-web/src/main/js/serve.js
index 50e29bd..9fff7a4 100644
--- a/modules/control-center-web/src/main/js/serve.js
+++ b/modules/control-center-web/src/main/js/serve.js
@@ -94,7 +94,7 @@ function onError(error) {
     ? 'Pipe ' + port
     : 'Port ' + port;
 
-  // handle specific listen errors with friendly messages
+  // Handle specific listen errors with friendly messages.
   switch (error.code) {
     case 'EACCES':
       console.error(bind + ' requires elevated privileges');


Mime
View raw message