Skip to content
A sample Rroonga application for Heroku.
Ruby HTML CSS JavaScript CoffeeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
groonga
lib
log
public
test
vendor/assets
.gitignore
Gemfile
Gemfile.lock
LICENSE.txt
Procfile
README.md
Rakefile
config.ru

README.md

A sample blog application for Rroonga on Heroku

This is a sample blog application to show how to use Rroonga on Heroku.

Demonstration

See http://rroonga-blog.herokuapp.com/ .

Note that the demonstration site may be deleted.

Install

% git clone https://github.com/groonga/heroku-sample-rroonga-blog.git
% cd heroku-sample-rroonga-blog
% heroku apps:create --addons heroku-postgresql --buildpack https://codon-buildpacks.s3.amazonaws.com/buildpacks/groonga/groonga.tgz
% heroku buildpacks:add heroku/ruby
% heroku buildpacks:add https://codon-buildpacks.s3.amazonaws.com/buildpacks/groonga/rroonga.tgz
% git push heroku master
% heroku run rake db:migrate
% heroku apps:open

You can search blog posts by title and content in the search form.

You can posts test entries:

% bundle install
% env $(heroku apps:info --shell | grep '^web-url=' | sed -e 's/^web-url=/web_url=/') bin/rails import

You can select test entries. For example, the following command just posts Ruby news in Japanese:

% env $(heroku apps:info --shell | grep '^web-url=' | sed -e 's/^web-url=/web_url=/') bin/rails import:ruby:ja

License

CC0 1.0 Universal (Public Domain)

Thanks

  • mallowlabs: Web design.
You can’t perform that action at this time.