Automated build for the Telerest Dashboard.
2.2K
git clone https://github.com/BetterVoice/telerest-dashboard.git
cd telerest-dashboard
docker build -t inteliquent/telerest-dashboard:latest .
docker run --name dash -d -e "API_URL=http://192.168.35.88:8080" -p 80:80/tcp -p 443:443/tcp inteliquent/telerest-dashboard:latest
Visit you-docker-container-url/dashboard/ in your browser to view the app!
(bonus) If you want to enter the docker container after it's started use command:
docker exec -i -t dash /bin/bash
It's the same as above except your docker run command will be
docker run --name dash --net=dedicate --restart=always -p 80:80/tcp -p 443:443/tcp -v /home/lpratt/certs:/etc/nginx/certs -e "API_URL=https://api.inteliquent.com" -e "NGINX_SSL_ENABLED=True" -e "NGINX_CERT_PATH=/etc/nginx/certs/api.inteliquent.com.bundle" -e "NGINX_KEY_PATH=/etc/nginx/certs/api.inteliquent.com.key" -d inteliquent/telerest-dashboard:latest
Git clone or download project and cd into root folder
Install Node.js (for npm) using the installer: https://nodejs.org/
Install Grunt cli (will be replaced with Gulp in future versions) run code:
npm install -g grunt-cli
npm install
bower install
createConfig("http://192.168.38.42:8080");
grunt build:angular
npm start
telerest-dashboard
│
├───grunt - contains grunt scripts with certain functions
│
└───src - main project files
│
├───libs - contains libraries which are lazyloaded
│
├───css - contains stylesheets
│
├───fonts - fonts
│
├───img - images
│
└───js - javascript
│
├───controllers - controllers for each view
│
├───directives - built in theme directives
│
├───factories - each factory is used in multiple views and is our connection layer with the API
│
├───filters - contains filters and useful functions for searching
│
├───services - built in theme services
│
├───app.js - main module for the project
│
├───config.lazyload.js - each front-end library must be included here to be lazyloaded
│
└───config.router.sj - holds all the projects routes
│
├───l10n - contains the beginning of a translation layer for when we're ready to serve multiple languages
│
└───tpl - contains all the templates (views) for the project, commonly shared pieces of views are in the blocks folder
Contact Lemonlemons (Andrew Moe) if you have any questions about this project
Content type
Image
Digest
Size
458.4 MB
Last updated
over 9 years ago
docker pull inteliquent/telerest-dashboard