Skip to content

How to run grimoirelab gitee?

Yehui Wang edited this page Aug 7, 2021 · 13 revisions

Getting started

There are different options to run grimoirelab-gitee, considerring that our first coming users would be developers(just a guess...), so let's start with Source code and docker-compose.

Some hints would be highlighted here to reduce expected/possible troubles during the installations(because I met them before :)), but some steps might be missied in the first few versions. When you met problems, just pop up issues and we will help you.

Source code and docker-compose

(verified by ubuntu18.04, with root user)

By this option, ElasticSearch, Kibiter and MariaDB would be installed by docker-compose as the infrastructure. For the rest of the other grimoirelab related components, they would be installed using the source code with help of build_grimoirelab.

1. Set enough virtual memory to secure ElasiticSearch up(reference):

  • option 1: sudo sysctl -w vm.max_map_count=262144 that is only valid for current session.
  • option 2: update vm.max_map_count setting in /etc/sysctl.conf.

2. Run docker-compose(reference):

git clone https://github.com/grimoirelab-gitee/grimoirelab.git
cd grimoirelab/docker-compose
docker-compose -f docker-compose-infra-gitee.yml up -d

You can check if ElasticSearch and Kibiter was up by check

http://localhost:5601/

You can check if MariaDB was up by:

docker exec -it docker-compose_mariadb_1 bash
mysql -u root -proot -e 'SHOW DATABASES;'
Clone this wiki locally