Notable Web
A web interface for Notable
Installation
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.
Basic Authentication
Set the following variables in your environment or an initializer.
ENV["NOTABLE_USERNAME"] = "andrew"
ENV["NOTABLE_PASSWORD"] = "secret"
Devise
authenticate :user, ->(user) { user.admin? } do
mount NotableWeb::Engine, at: "notable"
end
will_paginate
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.
History
View the changelog
Contributing
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