Git Product home page Git Product logo

iwell-deo's Introduction

iwell-deo

iwell-deo is a project aimed at automating the collection, validation, and aggregation of your operational oil & gas data from iwell.info.

Available on DockerHub!

Getting Started

  1. Install poetry package manager: pip3 install poetry
  2. Install the dependencies from pyproject.toml: poetry install
  3. Define the necessary environment variables (example below)
  4. Run the app: docker-compose up

Environment Variables

Example development configuration. Environment variables can either be defined at the system level or in a filed named '.env' in the project's root directory.

.env

IWELL_CLIENT_ID=YOUR_CLIENT_ID
IWELL_CLIENT_SECRET=YOUR_CLIENT_SECRET
IWELL_URL=https://api.iwell.info/v1
IWELL_USERNAME=YOUR_USERNAME
IWELL_PASSWORD=YOUR_PASSWORD
IWELL_TOKEN_PATH=/oauth2/access-token

DATABASE_DRIVER="postgres"
DATABASE_USERNAME="iwell"
DATABASE_PASSWORD=""
DATABASE_HOST="localhost"
DATABASE_NAME="iwell"
DATABASE_SCHEMA="public"

SENTRY_DSN=""
SENTRY_ENABLED=false
LOG_LEVEL=10

FLASK_APP=iwell.manage.py
FLASK_ENV=development
APP_SETTINGS=iwell.config.DevelopmentConfig
SECRET_KEY=my_precious

TODO

  • add documentation
  • finish unit tests

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.