sudo curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
sudo apt-get install nodejs build-essential ruby-dev -y
sudo npm install -g bower
sudo npm install -g grunt-cli
sudo gem install compass
npm install
grunt build
node --harmony_arrow_functions --harmony_modules --harmony_strings index.js --domain={HIGHCORE UI DOMAIN} --endpoint={HIGHCORE API ADDRESS}
The following flags are available
Name | Description | Default value |
---|---|---|
endpoint | the endpoint of the highcore API | NO DEFAULT VALUE |
domain | the domain of the application. needed to set correct cookies | NO DEFAULT VALUE |
socketPort | listening port for socket.io | 3000 |
port | listening port for the web application | 8080 |
updateInterval | update interval for the stack status pull | 20000 |
docker run -p 8080:8080 -p 3000:3000 -e ENDPOINT={HIGHCORE API ADDRESS} -e DOMAIN={HIGHCORE UI DOMAIN} -d sourcestream/highcore-ui:latest-SNAPSHOT
docker-compose build ui