Skip to content
This repository has been archived by the owner on Jun 26, 2018. It is now read-only.
/ gemoire Public archive

Gemoire (Gem + grimoire) is YARD hosting app, like RubyDoc.info

Notifications You must be signed in to change notification settings

sue445/gemoire

Repository files navigation

Gemoire

Gemoire (Gem + grimoire) is YARD hosting app, like RubyDoc.info

Build Status Dependency Status Code Climate Coverage Status

Stories in Ready

Deploy

Overview

screenshot

overview

Features

  • clone/fetch git repository
  • generate and browse yard document
  • webhooks
    • Github :octocat:
    • Bitbucket
    • Gitlab

Requirements

  • Ruby 2.1.5
  • some DBs: MySQL, PostgreSQL or sqlite3
  • git 1.6+
  • redis

Setup

cp config/global/gemoire.yml{.example,}
cp config/global/redis.yml{.example,}
vi config/global/gemoire.yml
vi config/global/redis.yml

#####
cp config/database.yml{.sqlite3,}
# or
cp config/database.yml{.mysql,}
# or
cp config/database.yml{.postgresql,}
#####

vi config/database.yml

bundle install
bundle exec padrino rake ar:create ar:migrate

# setup admin user/pass
bundle exec rake db:seed

Run development

bundle exec padrino start
bundle exec sidekiq -r ./config/sidekiq.rb
# or
bundle exec foreman start

Test

RACK_ENV=test bundle exec rake ar:migrate
bundle exec rspec

Sandbox

http://gemoire.herokuapp.com/

for Heroku

vi config/global/gemoire.yml.heroku
vi config/global/redis.yml.heroku

⚠️ Caution

  • generated document and cloned repository are cleared each deploy
  • can not use ssh:// at remote_url

more documents