Skip to content
Nikita Stepochkin edited this page Jan 21, 2020 · 14 revisions

How to run the application

  1. Register in Moss and find the id in the received email.
  2. Download the docker-compose file and the .env file to your machine and place them in one directory.
  3. Specify parameter values in the .env file. Bold ones are mandatory:
Parameter Value
POSTGRES_DB Name of the database (i.e. gitplag)
POSTGRES_USER Database username
POSTGRES_PASSWORD Database password
gitplag_directory Application data directory
ui_port Port of the user interface
gitplag_version Versions of gitplag images are here
flaxo_version Versions of data2graph images are here
server_url URL address of the server. Default is http://localhost
GITPLAG_GITHUB_AUTH Github authentication header
GITPLAG_GITLAB_AUTH Gitlab authentication header
GITPLAG_BITBUCKET_AUTH Bitbucket authentication header

Set the authentication header if you want to use private repositories. For Github, obtain a token with access to repo here and set the Github variable as token <token>.

  1. Run the following command: docker-compose up
  2. Open localhost:ui_port
Clone this wiki locally