A web interface for Notable
Add this line to your application’s Gemfile:
gem "notable_web"
And add it to your config/routes.rb
.
mount NotableWeb::Engine, at: "notable"
Be sure to secure the dashboard in production.
Set the following variables in your environment or an initializer.
ENV["NOTABLE_USERNAME"] = "andrew"
ENV["NOTABLE_PASSWORD"] = "secret"
authenticate :user, ->(user) { user.admin? } do
mount NotableWeb::Engine, at: "notable"
end
If using will_paginate, create an initializer config/initializers/kaminari.rb
with:
Kaminari.configure do |config|
config.page_method_name = :per_page_kaminari
end
to avoid conflicts.
View the changelog
Everyone is encouraged to help improve this project. Here are a few ways you can help:
- Report bugs
- Fix bugs and submit pull requests
- Write, clarify, or fix documentation
- Suggest or add new features
To get started with development:
git clone https://github.com/ankane/notable_web.git
cd notable_web
bundle install
bundle exec rake test