Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

magneticio/vamp-ui

Repository files navigation

Vamp UI

Build Status

How to start up Vamp frontend

First clone the frontend with git. Master branch should be checked out.

Development

  1. Install all the dependencies using bower and npm:
$ npm install -g gulp gulp-cli
$ npm install
$ bower install
  1. First set the environment variables. [baseURL] should be the url that the frontend is running on.
$ ./environment.sh [baseUrl]

# example

$ ./environment.sh 192.168.99.100:8080
  1. Then serve the frontend with gulp. Gulp will set up a web server with all the goodies like browsersync etc.
$ gulp serve

Release

  1. Install all the dependencies using bower and npm:
$ npm install -g gulp gulp-cli
$ npm install
$ bower install
  1. First set the environment variables. By default window.location.origin will be used for backend endpoint which makes sense because UI files are served by Vamp itself.
$ ./environment.sh
  1. Then build the frontend with gulp. Gulp will make a dist directory and all the files can be found there.
$ gulp build

Building and running Docker image with Vamp and Vamp UI