Git Product home page Git Product logo

ardana-installer-ui's Introduction

(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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.