Giter Club home page Giter Club logo

la-metric-gitlab's Introduction

LaMetric app for gitlab

This LaMetric apps allow you to display information about your gitlab instance on your LaMetric device

Quick start

  1. Generate a personal gitlab token https://your.gitlab.com/profile/personal_access_tokens
  2. Create an indicator lametric app
  • Go to https://developer.lametric.com
  • Create an indicator app
  • Add an action button url to "yourserver.com/lametric-trigger"
  • Get the Push URL and Access token
  1. Lauch the server
docker run                                                         \
   -e GITLAB__BASEURL=http://your.gitlab.com                       \
   -e GITLAB__TOKEN=XXXXXXXX                                       \
   -e LAMETRIC__PUSH_URL=https://developer.lametric.com/XXXXXX     \
   -e LAMETRIC__ACCESS_TOKEN=XXXXXXX                               \
   -e LAMETRIC__NOTIFICATION_DURATION=120                          \
   -p 8080:8080
   jeromequere/la-metric-gitlab
  1. Install the app on you lametric device

Environment variables

  • GITLAB__BASEURL: Your gitlab base url
  • GITLAB__TOKEN: A gitlab personal access tokens
  • LAMETRIC__PUSH_URL: The push url provided by lametric when you create your app
  • LAMETRIC__ACCESS_TOKEN: The access token provided by lametric when you create your app
  • LAMETRIC__NOTIFICATION_DURATION: Number of seconds notifications are display on the device (default: 120)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.