Git Product home page Git Product logo

decidim_metabase's Introduction

DecidimMetabase

Decidim Metabase is a program written in Ruby and helps to create Metabase collections. The aim is to create easily metacards based on Decidim needs.

Based on the Metabase API, it helps creating Metabase resources based on YAML config files present in ./cards/decidim_cards and config.yml

Installation

This program is not a dedicated gem, you must run it using the main.rb file. However we'll probably enhance tests and library and then share it.

First, install dependencies:

bundle install

Ensure file main.rb has the execution rights, if not, add it :

chmod +x main.rb

Pull the defined submodules

Move config.yml.example to config.yml and replace placeholders by your configuration.

Don't forget to setup env variables for metabase connection:

export METABASE_HOST="metabase.example.com" && export METABASE_USERNAME="[email protected]" && export METABASE_PASSWORD="secretpassword"

Usage

You can easily execute the program with one of these commands :

make
# OR 
make run
# OR
bundle exec main.rb
# OR
ruby main.rb
# OR 
./main.rb

Development

For now Decidim Metabase simplify operations for our Data team. Please note that the code is not efficient and potential fails are present. At the moment, it shouldn't causes specific issues on your Metabase server.

Contributing

Contributions are welcome, at the moment it is still in development.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the DecidimMetabase project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

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.