Skip to content

eapodaca/ardana-installer-ui

 
 

Repository files navigation

(c) Copyright 2017-2018 SUSE LLC

SUSE OpenStack Cloud Deployer

The GUI installer for SUSE Openstack Cloud.

How to run

Move to the root of the project and run npm install which will install any dependencies

After that, run npm start which will bundle the react app and start the express server

You will get the express server (UI) running on localhost:2209.

To run the selenium tests:

  1. Assuming npm install is already run, perform initial setup npm run protractor-setup (once, does not need to be done each time)
  2. start the app in another terminal npm start
  3. run the tests npm run protractor-day0 (for running day0 Installer tests)
  4. run the tests npm run protractor-day2 (for running day2 CLM Admin Console tests)

For more information on protractor/selenium locators see http://www.protractortest.org/#/locators

Building and running the production version of the installer

Build just the ui components (output to "dist" folder):

build_ui.sh

To run the application from that location, together with a local copy of the ardana-installer-server:

run_dist.sh

Note!

You will need the ardana-service to provide data model information. The source code for that service resides in the git repo https://github.com/ArdanaCLM/ardana-service.

Open Build Service (OBS)

In order to build with OBS, a tarball containing the contents of the node_modules directory must be created and added to the package. Run the command:

./build_deps.sh

to refresh node_modules and create node_modules.tar.bz2.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.2%
  • CSS 8.0%
  • Other 0.8%