Difference between revisions of "Web Administration Dashboard - Developer's Guide"

From RifidiWiki

Jump to: navigation, search
(Server Management)
(Configuring environment)
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
Note: Use Edge developer setup as a reference - http://wiki.rifidi.net/index.php?title=Edge_Server_Development_Environment
+
<!--Note: Use Edge developer setup as a reference - http://wiki.rifidi.net/index.php?title=Edge_Server_Development_Environment-->
 +
<br>This document details the steps necessary to set up a development environment in order to modify Web Administration Dashboard.
  
 
=Development tools=
 
=Development tools=
 +
In developing this responsive html5 web application, we leverage on these technologies:
  
==Add Server==
+
==Npm==
# Right click on 'Servers' node and then choose 'Add server'<br>[[File:add_server_link.png]]
+
A package manager for javascript
# Provide the values for attributes: Display name, IP address, protocol and port where rest services are deployed on that server.<br>[[File:add_server.png]]
+
<br>Web site https://www.npmjs.com/package/npm
# Click on 'Create' button and confirm<br>[[File:add_server_confirm2.png]]
+
  
==Delete Server==
+
==Yeoman==
# Right click on server node to delete and then choose 'Delete server'<br>[[File:delete_server_link.png]]
+
The web's scaffolding tool for modern web applications
# Confirm delete operation<br>[[File:delete_server_confirm2.png]]
+
<br>Web site http://yeoman.io/
  
==Update Server Connection Properties==
+
==Node JS==
# Click on server node to modify and then go to properties editor area<br>[[File:edit_server_link.png]]
+
A platform built on Chrome's JavaScript runtime for building network applications
# Provide the values for attributes: Display name, IP address, protocol and port where rest services are deployed on that server.<br>[[File:modify_server.png]]
+
<br>Web site https://nodejs.org/
# Click on 'Save' button and confirm<br>[[File:modify_server_confirm.png]]
+
  
==Update Server Auto Refresh settings==
+
==Grunt==
Enables or disables the menu auto refresh feature, so web app periodically synchronizes with server to reflect actual state of elements
+
A JavaScript task runner
# Click on servers node and then go to properties editor area<br>[[File:edit_servers_link.png]]
+
<br>Web site http://gruntjs.com/
# Provide the values for attributes: Enable auto refresh and auto refresh delay.<br>[[File:modify_servers.png]]
+
# Click on 'Save' button and confirm<br>[[File:modify_servers_confirm.png]]
+
  
==Save Server Configuration==
+
==Bower==
# Right click on server node and then choose 'Save server config'<br>[[File:save_server_link.png]]
+
A package manager for the web
# Confirm the save operation<br>[[File:save_server_confirm.png]]
+
<br>Web site http://bower.io/
  
==Save all servers Configuration==
+
==Bootstrap==
# Right click on "Servers" node and then choose 'Save all servers config'<br>[[File:save_all_servers_link.png]]
+
HTML, CSS, and JS framework for developing responsive, mobile first projects on the web
# Confirm the save operation<br>[[File:save_all_servers_confirm.png]]
+
<br>Web site http://getbootstrap.com/
  
<!--
+
==Angular JS==
==Get/Set Server JVM Configuration==
+
HTML enhanced for web apps
 +
<br>Web site https://angularjs.org/
  
==Configure Primary/Secondary Nodes==
+
==Angular Modules==
 +
Find modules for AngularJS
 +
<br>Web site http://ngmodules.org/
  
==Start Server==
+
==Angular UI==
 +
Companion suite(s) to the AngularJS framework
 +
<br>Web site https://angular-ui.github.io/
  
==Stop Server==
+
==WebStorm==
 +
A lightweight IDE for client-side development and server-side development with Node.js
 +
<br>Web site https://www.jetbrains.com/webstorm/
  
==Configure logging==
+
=Configuring environment=
 
+
In order to setup a development environment follow the next steps:
==View/Filter logs==
+
# [http://wiki.rifidi.net/index.php?title=Edge_Server_Development_Environment Setup] Edge Server Development Environment, as source code for web administration dashboard is located in folder <b>Rifidi-SDK / RifidiHome / admin</b><br>
 
+
<!--
==Monitor Server via Jolokia ==
+
# [https://www.npmjs.com/package/npm Download] and install Npm
leveraging edge monitoring Jolokia rest interface
+
# [http://yeoman.io/ Download] and install Yeoman
 +
# [https://nodejs.org/ Download] and install NodeJS
 +
# [http://gruntjs.com/ Download] and install Grunt
 +
# [http://bower.io/ Download] and install Bower
 +
-->
 +
# [https://www.jetbrains.com/webstorm/ Download] an appropriate license of WebStorm, or use another JavaScript IDE
 +
# Open the project source code in IDE.<br>[[Image:open_webproject.png]]
 +
<!--
 +
# Inside Gruntfile.js project file, set the appropriate port number for nodejs development server to run<br>[[File:devportsetting_webproject.png]]
 +
# Open an operating system command console and locate the root of web app source code, where the Gruntfile.js file is located.<br>[[Image:opencommandconsole_webproject.png]]
 +
# Start the development nodejs web server by running <b>grunt serve</b> command<br>[[File:runinggrunt_webproject.png]]
 +
# Ensure the server is successfully started by looking at console message<br>[[File:serverstarted_webproject.png]]
 +
# It automatically opens the default web browser pointing to web application<br>[[File:browse_webproject.png]]
 
-->
 
-->
 +
# Enjoy coding!

Latest revision as of 22:39, 11 May 2015


This document details the steps necessary to set up a development environment in order to modify Web Administration Dashboard.

Development tools

In developing this responsive html5 web application, we leverage on these technologies:

Npm

A package manager for javascript
Web site https://www.npmjs.com/package/npm

Yeoman

The web's scaffolding tool for modern web applications
Web site http://yeoman.io/

Node JS

A platform built on Chrome's JavaScript runtime for building network applications
Web site https://nodejs.org/

Grunt

A JavaScript task runner
Web site http://gruntjs.com/

Bower

A package manager for the web
Web site http://bower.io/

Bootstrap

HTML, CSS, and JS framework for developing responsive, mobile first projects on the web
Web site http://getbootstrap.com/

Angular JS

HTML enhanced for web apps
Web site https://angularjs.org/

Angular Modules

Find modules for AngularJS
Web site http://ngmodules.org/

Angular UI

Companion suite(s) to the AngularJS framework
Web site https://angular-ui.github.io/

WebStorm

A lightweight IDE for client-side development and server-side development with Node.js
Web site https://www.jetbrains.com/webstorm/

Configuring environment

In order to setup a development environment follow the next steps:

  1. Setup Edge Server Development Environment, as source code for web administration dashboard is located in folder Rifidi-SDK / RifidiHome / admin
  2. Download an appropriate license of WebStorm, or use another JavaScript IDE
  3. Open the project source code in IDE.
    Open webproject.png
  4. Enjoy coding!
Personal tools