Giter Site home page Giter Site logo

influx-test-env's Introduction

InfluxDB Test Project

Setup a test environment running InfluxDB so that we can ingest some dummy water data and try out dashobard widgets and alerts.

Getting Started

For this project we are using InfluxDB 2.2

Prerequisites

You will need docker and docker-compose installed.

Installing

Use docker-compose to start the database running:

docker-compose up -d

For Windows, try:

docker-compose -f docker-compose-win.yml up -d

Initial setup

There are two steps to get the initial database setup. First run a shell in the docker container:

docker-compose exec influxdb bash

Then run the setup script, which can be done interactively or in a single line:

# interactive
influx setup

# single line
influx setup --username admin --password admin --org TestOrg --bucket water-quality --retention 0 --force

You can test that you have set things up correctly by viewing the API tokens and listing the orgamisations:

# view API tokens
influx auth list

# list organisations
influx org list

Login and use system

Login to the InfluxDB portal at https://localhost:8086

influx-test-env's People

Contributors

jontsnz avatar john-fitzgerald-smartaiconnect avatar

Watchers

 avatar James Cloos avatar

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.