This repository has been archived by the owner. It is now read-only.
waffle.io clone for Gitlab
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
script
shots
spec
tmp
vendor/assets
.coveralls.yml
.gitignore
.hound.yml
.rspec
.travis.yml
CHANGELOG.md
Gemfile
Gemfile.lock
LICENSE.txt
Procfile
README.md
Rakefile
VERSION
config.ru

README.md

Gitpeach

Build Status Coverage Status Dependency Status Code Climate Inline docs

waffle.io clone for Gitlab

Gitpeach

Requirements

  • Gitlab API 5.3.0+ and 6.0.x and 6.2.0+
    • only 6.1.0 is not supported
  • ruby 2.0.0+
  • MySQL or PostgreSQL
  • Pusher

Setup

Signup to Pusher

Create new app

Pusher

Setup command

bundle install --path vendor/bundle

# Mysql
cp config/database.yml{.mysql,}

# PostgreSQL
cp config/database.yml{.postgresql,}

cp config/gitlab.yml{.sample,}
cp config/pusher.yml{.sample,}
vi config/database.yml
vi config/gitlab.yml
vi config/pusher.yml
bundle exec rake db:create
bundle exec rake db:migrate RAILS_ENV=development

bundle exec rails s
open http://localhost:3000/

Test

bundle exec rake db:migrate RAILS_ENV=test
bundle exec rspec

Sample scripts

see lib/support

Production (example)

Setup

cd /path/to
git clone git@github.com:sue445/gitpeach.git
cd gitpeach

cp config/database.yml{.mysql,}
bundle install --path vendor/bundle --without development test postgres
# or 
cp config/database.yml{.postgresql,}
bundle install --path vendor/bundle --without development test mysql

cp config/gitlab.yml{.sample,}
cp config/pusher.yml{.sample,}
vi config/database.yml
vi config/gitlab.yml
vi config/pusher.yml

RAILS_ENV=production bundle exec db:create rake db:migrate

sudo cp /path/to/gitpeach/lib/support/nginx/gitpeach /etc/nginx/sites-enabled/gitpeach
sudo vi /etc/nginx/sites-enabled/gitpeach

sudo cp /path/to/gitpeach/lib/support/init.d/unicorn_gitpeach /etc/init.d/unicorn_gitpeach
sudo /etc/init.d/unicorn_gitpeach start

sudo /etc/init.d/nginx reload

open http://peach.your-site.com/

Deploy

cd /path/to/gitpeach
git pull --ff
bundle install --path vendor/bundle --without development test postgres
RAILS_ENV=production bundle exec rake assets:clean assets:precompile
RAILS_ENV=production bundle exec rake db:migrate
sudo /etc/init.d/unicorn_gitpeach restart

Production (Heroku)

heroku create
git checkout -b deploy

vi Gemfile
# uncomment out this
# ruby "2.1.2"

bundle install --without mysql
git add -f config/gitlab.yml
git add -f config/pusher.yml
git commit -am "Add setting for heroku"

# push deploy branch as master branch
git push heroku deploy:master

heroku run rake db:migrate
heroku open 

FAQ

Q. Difference with waffle.io

  1. realtime updates
  • using websocket
  1. show milestone and timestamp
  • Milestone

Q. Why Peach?

A. Gitlab -> Git love -> Momozono Love -> Cure Peach

Detail: Fresh Pretty Cure! - Wikipedia

Q. I want to change color

  1. open bootstrap_and_overrides.css.less
  2. edit @seed-color

Bitdeli Badge