https://github.com/groonga/heroku-sample-rroonga-blog
A sample Rroonga application for Heroku.
https://github.com/groonga/heroku-sample-rroonga-blog
Last synced: 11 months ago
JSON representation
A sample Rroonga application for Heroku.
- Host: GitHub
- URL: https://github.com/groonga/heroku-sample-rroonga-blog
- Owner: groonga
- License: cc0-1.0
- Created: 2014-05-25T03:11:27.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2018-07-14T21:52:34.000Z (almost 8 years ago)
- Last Synced: 2025-02-10T11:45:20.909Z (over 1 year ago)
- Language: Ruby
- Homepage: http://rroonga-blog.herokuapp.com/
- Size: 54.7 KB
- Stars: 2
- Watchers: 11
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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.