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

adeo/benchmark-tipboard

Repository files navigation

Tipboard

Chat Github Pypi
pypi docker
Travis Gitlab ReadTheDocs
Semaphore Code Coverage
CodeFactor codebeat badge Code Quality
Codacy DeepScan grade
Snyk PyUp

Introduction

Tipboard is a system for creating dashboards, written in JavaScript and Python. Its widgets ('tiles' in Tipboard's terminology) are completely separated from data sources, which provides great flexibility and relatively high degree of possible customizations.

Because of its intended target (displaying various data and statistics in your office), it is optimized for larger screens.

A detailed, technical documentation for Tipboard can be found here.

Quick start

1. Execution by python 🐍

Some required packages need to be present, and python3.7 is required now
$ sudo apt-get install python-dev python-virtualenv redis-server

Install with python dependencies on virtual env
$ virtualenv tb-env                       # create virtual env
$ source tb-env/bin/activate              # activate virtual env
$ (tb-env)$ install -r requirements.txt   # install python lib
$ (tb-env)$ tipboard create_project my_test_dashboard
$ (tb-env)$ python manage.py runserver    # start webserver
Install with python dependencies on system
$ pip install -r requirements.txt
$ python manage.py runserver

2. Execution by docker 🐳

It's a non-root bitnami/python3.7 image

By git source
$ docker build -t tipboard:local .
$ docker run -p 8080:8080 tipboard:local
By docker hub
$ docker pull themaux/tipboard
$ docker run -p 8080:8080 themaux/tipboard
Remove redis from contener
 1 - In Dockerfile, comment line 3 `RUN apt-get update && apt-get install redis-server -y`
 2 - In entrypoint.sh, comment line 2 `nohup redis-server &`
 3 - Change the value *REDIS_HOST* & *REDIS_PASSWORD* in the tipboard/Config/properties.json

3. Execution on cloud ☁️

Deploy on AWS
# From sources git source
$ eb init -p docker tipboard-aws
$ eb create --single
$ eb status
$ eb open
Deploy on Openshift
# From docker hub
$ oc new-app themaux/tipboard
# Update the config_layout.yaml  & properties.json
$ oc apply -f ./helm/tipboard-charts-deploy/manifests/tipboard-ops/charts/config/templates/tipboard-configmap.yaml
Deploy on Azure
Deploy on GCP
# Go to GCP cloud shell
$ git clone https://github.com/the-maux/tipboard.git
$ gcloud app deploy
# Connect throw your instance with SSH (or scp the right files :D)
# Update the config_layout.yaml & properties.json
Deploy on clusters kubernets with helm
# Build helm package
$ helm package ./helm/tipboard-charts-template/python3-tipboard --save=false -d ./helm/charts/tipboard-charts-deploy
# Build deployment helm template
$ mkdir manifests
$ helm template --values tipboard_helm.yaml --name tipboard  --output-dir ./manifests .
# Deploy manifest
$ oc apply -R -f ./manifests || helm install --name tipboard MY_PATH_ENVIRONMENT

C.I / C.D

Continuous.Integration

C.I πŸ”¨ Stages
Travis Build Status
CodeFresh Codefresh build status
CircleCI GircleCI
Pyup/safety-ci Pyup
Scrutinizer Scrutinizer Code Quality
DockerCI Docker Docker
AzureBuild AzurePipeline
AwsCodeBuild
Codacy Codacy Badge
HelmChart
GoogleCloudBuild ❌

Continuous.Deployment

cloud ☁️ URL / CD-Pipeline
Azure AzurePipeline
Aws GircleCI
GCP CircleCI
Openshift/k8s Gitlab Gitlab

License

Tipboard is licensed under the Apache License, v2.0.

Copyright (c) 2013-2017 Allegro Group.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published