1. Raymond Qian
  2. moebooru

Overview

HTTPS SSH

Moebooru

This project is based on original Moebooru which is being used in yande.re Image Board. Changes compared to original Moebooru:

  • Requires Ruby 1.9
  • Uses Rails 3.0 (woohoo)
  • Uses Bundler
  • Updated gems
  • Pool ZIP support for nginx (with mod_zip)

As this is still in development, bug reports are welcome.

Requirements

As this is ongoing project, there will be more changes on requirement as this project goes. Currently this application requires:

  • Ruby 1.9 (1.8 should also works, too)
  • PostgreSQL (tested with 8.4)
  • Bundler gem
  • GD image library header
  • And various other requirement for the gems (check Gemfile for the list)

On RHEL5, it goes like this:

  • gcc
  • gcc-c++
  • gd-devel
  • jhead
  • libxslt-devel
  • libyaml-devel
  • mercurial
  • openssl-devel
  • pcre-devel
  • postgresql84-contrib
  • postgresql84-devel
  • postgresql84-server
  • readline-devel

On Ubuntu 10.04.4 LTS

  • apt-get install postgresql-contrib python-software-properties postgresql libpq-dev libxml2-dev libxslt-dev mercurial jhead build-essential libgd2-noxpm-dev
  • add the ppa and then apt-get install ruby1.9.3

Installation

  • Create a new PostgreSQL user with type of superuser
  • Run bundle install
  • Build image resizer:
    • cd lib/danbooru_image_resizer
    • ruby extconf.rb
    • make
  • Create config/database.yml and config/local_config.rb
  • Run rake db:migrate <—this doesn’t actually work, I had to import structure.sql
  • Start the server (bundle exec unicorn_rails)

Plans

  • Bug fixes
  • Documentation
  • Switch to ImageScience/ImageVoodo
  • JRuby and Rubinius support
  • And more!