Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sue445/gitpeach
waffle.io clone for Gitlab
https://github.com/sue445/gitpeach
Last synced: 3 months ago
JSON representation
waffle.io clone for Gitlab
- Host: GitHub
- URL: https://github.com/sue445/gitpeach
- Owner: sue445
- License: mit
- Archived: true
- Created: 2014-02-02T07:23:10.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-12T16:56:25.000Z (over 9 years ago)
- Last Synced: 2024-08-02T12:49:25.545Z (6 months ago)
- Language: Ruby
- Size: 3.18 MB
- Stars: 79
- Watchers: 10
- Forks: 9
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-starred - sue445/gitpeach - waffle.io clone for Gitlab (others)
README
# Gitpeach
[![Build Status](https://travis-ci.org/sue445/gitpeach.png)](https://travis-ci.org/sue445/gitpeach)
[![Coverage Status](https://coveralls.io/repos/sue445/gitpeach/badge.png)](https://coveralls.io/r/sue445/gitpeach)
[![Dependency Status](https://gemnasium.com/sue445/gitpeach.png)](https://gemnasium.com/sue445/gitpeach)
[![Code Climate](https://codeclimate.com/github/sue445/gitpeach.png)](https://codeclimate.com/github/sue445/gitpeach)
[![Inline docs](http://inch-ci.org/github/sue445/gitpeach.svg?branch=master)](http://inch-ci.org/github/sue445/gitpeach)[waffle.io](https://waffle.io/) clone for [Gitlab](http://gitlab.org/)
![Gitpeach](https://raw.github.com/sue445/gitpeach/master/shots/gitpeach.gif)
## 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](https://app.pusher.com/)
Create new app![Pusher](https://raw.github.com/sue445/gitpeach/master/shots/pusher.png)
### Setup command
```sh
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=developmentbundle exec rails s
open http://localhost:3000/
```## Test
```sh
bundle exec rake db:migrate RAILS_ENV=test
bundle exec rspec
```## Sample scripts
see [lib/support](lib/support)## Production (example)
### Setup
```sh
cd /path/to
git clone [email protected]:sue445/gitpeach.git
cd gitpeachcp 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 mysqlcp config/gitlab.yml{.sample,}
cp config/pusher.yml{.sample,}
vi config/database.yml
vi config/gitlab.yml
vi config/pusher.ymlRAILS_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/gitpeachsudo cp /path/to/gitpeach/lib/support/init.d/unicorn_gitpeach /etc/init.d/unicorn_gitpeach
sudo /etc/init.d/unicorn_gitpeach startsudo /etc/init.d/nginx reload
open http://peach.your-site.com/
```### Deploy
```sh
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)
```sh
heroku create
git checkout -b deployvi 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:masterheroku run rake db:migrate
heroku open
```## FAQ
### Q. Difference with waffle.io
1. realtime updates
* using websocket
2. show milestone and timestamp
* ![Milestone](https://raw.github.com/sue445/gitpeach/master/shots/issue.png)### Q. Why Peach?
A. Gitlab -> Git love -> Momozono Love -> Cure PeachDetail: [Fresh Pretty Cure! - Wikipedia](http://en.wikipedia.org/wiki/Fresh_Pretty_Cure!)
### Q. I want to change color
1. open [bootstrap_and_overrides.css.less](app/assets/stylesheets/bootstrap_and_overrides.css.less)
2. edit `@seed-color`
* ref. http://rriepe.github.io/1pxdeep/[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/sue445/gitpeach/trend.png)](https://bitdeli.com/free "Bitdeli Badge")