Copyright 2017-2019 Storage Networking Industry Association (SNIA), USA. All rights reserved. For the full SNIA copyright policy, see http://www.snia.org/about/corporate_info/copyright
Contributors that are not SNIA members must first agree to the terms of the SNIA Contributor Agreement for Non-Members: https://www.snia.org/cla
The Swordfish Basic Web Client can connect to one or more Swordfish services (including the Swordfish emulator), and present in a web UI frame the entire Swordfish hierarchy. The basic web client also provides basic capabilities to modify configurable Properties (as specified in the schema), as well an providing a basic interface to add or remove elements from the service through a Web UI.
- Install
node.js
andnpm
if they are not already on your machine.
Verify that you are running at least node 8.x.x and npm 5.x.x by running node -v and npm -v in a terminal/console window. Older versions produce errors, but newer versions are fine. - Run
commands.bat
file to install angular-cli and express globally.
OR
Run the following commands in terminal/console window.
•npm install -g express
,
•npm install -g @angular/cli@latest
Run the below commands in terminal/console window, if you are running the application for the first time.
cd views && npm install
cd views
changes the current working directory(project) path to views folder where angular application resides,npm install
will install all modules listed as dependencies inpackage.json
in to the localnode_modules
folder. which are required to run the angular application.
2.ng build
The ng build
command is intended for building the app and deploying the build artifacts. The build artifacts will be stored in the dist/ directory
-
cd .. && npm install
cd ..
reverts the path from views folder to project folder.npm install
install all modules listed as dependencies in project'spackage.json
in to the localnode_modules
folder required to run the node application. -
npm start
This runs an arbitrary command specified in the package.json's "start" property of its "scripts" object.Npm scripts let you group together and run logically related commands and establishes a development server to execute the code , launches the application on browser. -
Open
http://localhost:3000/
in your browser to access the Web Client.
npm start
will launch the application on browser's http protocol and localhost as IPaddress on port 3000
** Note: build to angular application is required upon any pull request or if, any changes are detected. Follow the below steps to build and run the application
cd views && ng build
cd .. && npm start
Or
Directly run the application using npm start
.
Username: [email protected]
Password: snia@123
The information about the credentials are listed in views/src/assets/json/login.json
file
- Chrome( Latest version),
- Firefox(Latest version),
- IE (Versions 9,10,11 ),
- Edge (V14,13),
- Safari (V7,8,9,10),
- IOS (V7,8,9,10),
- Android
• Nougat (V7.0),
• Marshmallow (V6.0),
• Lollipop (V5.0, 5.1),
• KitKat (V4.4),
• Jelly Bean (V4.1, 4.2, 4.3), - IE Mobile (V11)