NOTE: The documentation is in progress.
- Ruby … 2.3.3
- bundler
- Groonga
- PostgreSQL … ~> 9.5
If you use macOS and have not used groonga:
$ brew install groonga --with-mecab
Requires postgresql and phantomjs too:
$ brew install postgresql
$ brew install phantomjs
Install dependencies and setup database:
$ bundle install
$ bin/rake db:create db:structure:load
How to load dummy data for development:
$ bin/rake db:seed:development
- Open http://localhost:3000/admin
- Login as admin user:
- Email: [email protected]
- Password: adminpass
- Click
サイト情報
- Click
Edit
of the site to which you want to apply JavaScript, CSS etc.- Js url: This is JavaScript URL. Default: embedded, e.g. http://piyopiyo/assets/piyopiyo.js
- Css url: This is CSS URL. Default: embedded, e.g. http://piyopiyo/assets/piyopiyo.css
- Content header url: This is URL of external content on header, e.g. http://piyopiyo/partials/content_header_buttons