Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ofunaa/notee
【react&rails】notee is creating blog gem with only one command.
https://github.com/ofunaa/notee
cms rails react reactjs recaptcha riotjs ruby
Last synced: 2 months ago
JSON representation
【react&rails】notee is creating blog gem with only one command.
- Host: GitHub
- URL: https://github.com/ofunaa/notee
- Owner: ofunaa
- License: mit
- Created: 2016-04-24T17:26:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-06T07:09:02.000Z (almost 8 years ago)
- Last Synced: 2024-10-31T13:48:42.491Z (3 months ago)
- Topics: cms, rails, react, reactjs, recaptcha, riotjs, ruby
- Language: JavaScript
- Homepage:
- Size: 124 MB
- Stars: 21
- Watchers: 5
- Forks: 1
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# Notee
Notee is creating CMS(blog) app by only one command.
BackEnd: Ruby(RailsEngine)
FrontEnd: React.js + Riot.js(only comment part)### Editing View
![notee edit view](https://github.com/funaota/public_images/blob/master/notee/notee_edit.gif)
### Notee Demo
![notee_getstarted](https://github.com/funaota/public_images/blob/master/notee/notee_getstarted.gif)
## Installation
```ruby
gem 'notee'
```
$ bundle install
$ bundle exec rake notee:start
## Setting### 1: you must set only reCAPTCHA
[Setting Recaptcha](https://github.com/funaota/notee/wiki/Setting-reCAPTCHA)
update for your setting in config/initializers/notee.rb
Recommendation using .env
```rb
require 'notee'# Recommendation using .env
Notee.configure do |config|
# root-user
config.notee_id = "your_name"
config.notee_password = "your_password"# recaptcha
config.recaptcha_key = "hogehoge"
config.recaptcha_secret_key = "hogehoge"# blog
config.blog_meta = {
title: "Notee",
url: "http://hogehoge.com",
keyword: "hoge, hoge, hoge",
description: "【react&rails】notee is creating CMS(blog) app by only one command.",
og_image: "http://hogehoge.com/hoge.png"
}# google-analytics
config.google_analytics = "hogehogehogehoge"
end```
## Start
$ bundle exec rake db:migrate
$ bundle exec rails s
#### 1: access login pageaccess this url [http://localhost:3000/notee](http://localhost:3000/notee/)
#### 2: login
and Enter your notee_id & notee_password!## Authority
| |Writer |Editor |Manager |Root |Deleted |
|:-----------|:----------:|:----------:|:----------:|:----------:|:----------:|
| Post(Create) | ○ | ○ | ○ | ||
| Post(Update) | My Post | ○ | ○ | ||
| Post(Destroy) | | ○ | ○ | ||
| Category(Create) | ○ | ○ | ○ | ||
| Category(Update) | ○ | ○ | ○ | ||
| Category(Destroy) | | ○ | ○ | ||
| Image(Create) | ○ | ○ | ○ | ||
| Image(Destroy) | | ○ | ○ | ||
| User(Create) | | | ○ | ○ ||
| User(Update) | My Profile | My Profile | ○ | My Profile ||
| User(Destroy) | | | ○ | ||## Helper Method
[Helper Method](https://github.com/funaota/notee/wiki/Helper-Method)## Setting Google Analytics
[Setting Google Analytics](https://github.com/funaota/notee/wiki/Setting-Google-Analytics)
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).