toni-moreno / ipas-home

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IPAS-home

Main HOME page for administration of the IPAS platform

What exactly means IPAS?

I: Infraestructure P: Performance A: Analitics S: System

Is a set of tools to help IT related companies on Gather , Store , Visualize and analize metris from its infraestructure.

IPAS-home is the main Web-UI to manage all our components.

As a components we can use

Component Type URL
Gitea Git Repo
Jenkins Flow execution Tool
InfluxDB Metric Storate
Telegraf Metric Gather tool
SnmpCollector Metric Gather tool
DomainHealth Metric Gather Tool
CellHealth Metric Gather Tool
Grafana Metric Visualization Tool
Kapacitor Metric Analisis tool
Resistor Frontend for Kapacitor

If you wish to compile from source code you can follow the next steps

Run from master

If you want to build a package yourself, or contribute. Here is a guide for how to do that.

Dependencies

  • Go 1.8
  • NodeJS >=6.2.1

Get Code

mkdir -p $GOPATH/src/github.com/toni-moreno/ipas-home
cd $GOPATH/src/github.com/toni-moreno/ipas-home
git clone https://github.com/toni-moreno/ipas-home.git
export PATH=$PATH:$GOPATH/bin/

Building the backend

go run build.go setup            (only needed once to install godep)

Building frontend and backend in production mode

npm install
PATH=$(npm bin):$PATH
npm run build:pro #will build fronted and backend

Creating minimal package tar.gz

npm run postbuild #will build fronted and backend

Running first time

To execute without any configuration you need a minimal config.toml file on the conf directory.

cp conf/sample.ipashome.toml conf/ipashome.toml
./bin/ipashome

Recompile backend on source change (only for developers)

To rebuild on source change (requires that you executed godep restore)

go get github.com/Unknwon/bra
npm start

will init a change autodetect webserver with angular-cli (ng serve) and also a autodetect and recompile process with bra for the backend

Online config

Now you wil be able to configure metrics/measuremnets and devices from the builting web server at http://localhost:5090 or http://localhost:4200 if working in development mode (npm start)

About

License:MIT License


Languages

Language:Go 42.8%Language:TypeScript 28.3%Language:HTML 21.0%Language:CSS 7.2%Language:JavaScript 0.4%Language:Shell 0.2%