A web user interface for the CloudLaunch application. CloudLaunch is a ReSTful, extensible Django app for discovering and launching applications on cloud, container, or local infrastructure. A live version is available at https://launch.usegalaxy.org/.
More documentation about CloudLaunch is available at https://cloudlaunch.readthedocs.io/.
The recommended method for installing CloudLaunch is via its Helm chart https://github.com/cloudve/cloudlaunch-helm.
For a local installation of a development server, run the following.
- Clone the repository
$ git clone https://github.com/galaxyproject/cloudlaunch-ui.git
$ cd cloudlaunch-ui
- Install required libraries
Make sure you have node
(version 6.*) installed. Then install
dependencies with the following commands:
# Install typescript development support
npm install -g tsd
# Install angular-cli
npm install -g @angular/cli
# Install dependencies
npm install
To start the development server, run:
npm start
Or if you use yarn as your preferred package manager, yarn start
.
Access the server at http://localhost:4200/
. The app will
automatically reload if you change any of the source files.
Alongside this development server, it’s necessary to run the CloudLaunch
app (see README for it); default assumes the CloudLaunch app
runs on 127.0.0.1:8000
.
Run ng generate component component-name
to generate a new
component. You can also use
ng generate directive/pipe/service/class
.
Run ng build
to build the project. The build artifacts will be
stored in the dist/
directory. Use the -prod
flag for a
production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor. Before
running the tests make sure you are serving the app via ng serve
.