nlog2 is a simple blog engine/cms for me, written in Ruby and Sinatra.
(Rather than using it as-is, it is preferred to fork this repo and customize it for you because some of the features may not make sense to you. I'd like to keep the code simple enough to do that.)
- Permanent pages (accessible without date, like http://yhara.jp/About)
- Ruby (tested with 3.0)
- git clone
- Configuration
- cp config/nlog2.yml.example config/nlog2.yml
- Edit config/nlog2.yml
bundle exec rake config:hash_password
- Setup
bundle install
bundle exec rake db:migrate RACK_ENV=production
- Run
bundle exec rackup -e production
open http://localhost:9292/_edit
- rake db:migrate RACK_ENV=test
- bundle exec rspec
MIT