Skip to content

Get Started

funao edited this page Dec 7, 2016 · 3 revisions

Notee

Notee is creating CMS(blog) gem by only one command.

BackEnd: Ruby(RailsEngine)
FrontEnd: React.js + Riot.js(only comment part)

Installation

gem 'notee'
$ bundle install
$ bundle exec rake notee:start

Setting

update for your setting in config/initializers/notee.rb

Recommendation using .env

require 'notee'

# Recommendation using .env for manage id & password

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

access this url http://localhost:3000/notee
and Enter your notee_id & notee_password!

Clone this wiki locally