First clone the frontend with git. Master branch should be checked out.
- Install all the dependencies using bower and npm:
$ npm install -g gulp gulp-cli
$ npm install
$ bower install
- 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
- Then serve the frontend with gulp. Gulp will set up a web server with all the goodies like
browsersync
etc.
$ gulp serve
- Install all the dependencies using bower and npm:
$ npm install -g gulp gulp-cli
$ npm install
$ bower install
- 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
- Then build the frontend with gulp. Gulp will make a
dist
directory and all the files can be found there.
$ gulp build