Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

muhproductions/gitban

Repository files navigation

GitBanLogo

Code Climate security Dependency Status GitHub issues GitHub forks GitHub stars

Installation

Current development takes place in the master branch. So just go ahead and clone the project.

git clone https://github.com/muhproductions/gitban.git

Please make sure bundler is installed.

Setup

Since GitBan is a common Rails application just proceed as expected:

bundle install to install all required gems.

RAILS_ENV=production bundle exec rails db:migrate to run the migrations.

RAILS_ENV=production bundle exec rails assets:precompile to compile all assets

So configure GitBan you have to use a set of environment variables.

Variables

The following variables are necessary to start rails:

  • SECRET_KEY_BASE: the secret key..
  • GITLAB_URL: the url used by omniauth for locate your gitlab
  • GITLAB_APP_ID: the gitlab omniauth application id
  • GITLAB_SECRET_ID: the gitlab omniauth secret id
  • DATABASE_PATH: the location of your database directory

The following variables are nexessary to sync from gitlab

  • URL: the gitlab api url
  • TOKEN: the token to authenticate against the gitlab api
  • DATABASE_PATH: the location of your database directory

Usage

Synchronize

The main feature of GitBan is the easy sync of Gitlab issues with their dependencies (Assignee, Milestone, Project) into the GitBan database. In order to start the sync use the following command:

URL=https://your-gitlab.example \
RAILS_ENV=production \
TOKEN=secret_token \
DATABASE_PATH=/var/lib/gitban/db \
bundle exec rails sync:issues`

This will start the rake task and import all new issues and updates existing ones.

Boards and Columns

In order to use GitBan you have to create a new Kanban board. Therefore just create a new board and columns (which you have to assign to the created board)

Allocate Tasks

After you have created a board with the desired columns you can allocate new tasks via the Tasks Navbar item.

About

GitLab Kanban - So Simple, It Hurts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •