/alohomora

Very SS (Simple and Stupid) app/mock to create configuration files for GrimoireLab

Primary LanguageSmartyGNU General Public License v3.0GPL-3.0

alohomora

Very SS (Simple and Stupid) app/mock to create configuration files for GrimoireLab

Requirements

How it works

Just launch it:

$ python app.py

Visit your alohomora website at http://localhost:8080/

You can add new projects, and for each of them add data sources and check configuration json file too, that will look like:

{
  '_id': '534539954353534',
  '_rev': '1-454353453453',
  'name': 'Testing',
  'repositories': [
    {
      'repo_type': 'git',
      'repo_uri': 'git://git.commits.com/'
    },
    {
      'repo_type': 'github',
      'repo_uri': 'http://github.com/jsmanrique'
    },
  ]
}

Each project configuration is stored as a document in a CouchDB database. You can learn more about CouchBD here:

As you might see in the code, I am not a developer, so don't expect any good practice there.

ToDo

A lot! This is a proof of concept of how a configuration manager for GrimoireLab could work/look like.

And, why alohomora

According to Wikipedia, it stands for:

Used to open and/or unlock doors, but doors can be bewitched so that this spell has no effect

So, it is the tool to open the doors to Grimoire platform (AKA GrimoireLab)