sue445 / Gitpeach
Licence: mit
waffle.io clone for Gitlab
Stars: ✭ 78
Programming Languages
ruby
36898 projects - #4 most used programming language
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
Pusher
Signup toCreate new app
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 [email protected]: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
- realtime updates
- using websocket
- show milestone and timestamp
Q. Why Peach?
A. Gitlab -> Git love -> Momozono Love -> Cure Peach
Detail: Fresh Pretty Cure! - Wikipedia
Q. I want to change color
- open bootstrap_and_overrides.css.less
- edit
@seed-color
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].