Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README to include how to run GrimoireLab #220

Closed
jsmanrique opened this issue Oct 14, 2019 · 3 comments
Closed

Update README to include how to run GrimoireLab #220

jsmanrique opened this issue Oct 14, 2019 · 3 comments

Comments

@jsmanrique
Copy link
Contributor

Potentially related with:

I am missing information about how to run GrimoireLab in its project README file. At least a basic structure like:

Getting started

Of course, first, you need git and to clone this repository.

You need to modify at least 2 configuration files to get ready:

  • projects.json to describe the projects and data sources you wanna analyze. Read more about this file in (link to further information)
  • setup.cfg to configure some procedures. By now, just don't forget to uncomment those sections related to the data sources your listed in the projects.json (this shouldn't be needed if Auto comment or uncomment sections based in projects.json grimoirelab-sirmordred#321 gets solved). Read more about this file in (link to further information)
  • credentials.cfg to list those tokens needed by some data sources. Read more about this file in (link to further information)

Once you are ready, there are several ways to start playing with GrimoireLab toolkit:

To play with GrimoireLab using pip packages

Requirements: git, Elasticsearch, Kibiter (or Kibana), MariaDB, Redis, ...

Run:

$ pip install grimoirelab

Run:

$ mordred -c setup.cfg credentials.cfg

Link to further reading about GrimoireLab python packages ...

To play with GrimoireLab using a single Docker image

Requirements: git, Docker Engine

Run:

$ docker run -p 127.0.0.1:9200:9200 -p 127.0.0.1:5601:5601 \
    -v $(pwd)/logs:/logs \
    -v $(pwd)/credentials.cfg:/override.cfg \
    -v $(pwd)/projects.json:/projects.json \
    -t grimoirelab/full

Link to further reading about GrimoireLab single Docker image ...

To play with GrimoireLab using Docker Compose

Requirements: git, Docker Engine, Docker Compose

Modify settings files and run:

$ docker-compose up -d

Link to further reading about GrimoireLab using docker-compose ...

@sduenas
Copy link
Member

sduenas commented Nov 6, 2019

@jsmanrique can you check the current version of the README file. Maybe it contains all you described here. If doesn't not the case, please create a PR adding the text you wanted to include.

@jsmanrique
Copy link
Contributor Author

I think this issue can be closed thanks to #221

@sduenas
Copy link
Member

sduenas commented Nov 6, 2019

Thanks!

@sduenas sduenas closed this as completed Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants