https://github.com/yhara/nlog2
source code of yhara.jp
https://github.com/yhara/nlog2
blog ruby sinatra
Last synced: 5 months ago
JSON representation
source code of yhara.jp
- Host: GitHub
- URL: https://github.com/yhara/nlog2
- Owner: yhara
- Created: 2016-09-28T05:24:05.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2025-10-17T07:16:31.000Z (8 months ago)
- Last Synced: 2025-12-01T17:27:12.200Z (7 months ago)
- Topics: blog, ruby, sinatra
- Language: Ruby
- Homepage: https://yhara.jp
- Size: 2.23 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# NLog2
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.)
## Features
- Permanent pages (accessible without date, like http://yhara.jp/About)
## Requirements
- Ruby (tested with 3.0)
## Install
1. git clone
1. Configuration
1. cp config/nlog2.yml.example config/nlog2.yml
1. Edit config/nlog2.yml
1. `bundle exec rake config:hash_password`
1. Setup
1. `bundle install`
1. `bundle exec rake db:migrate RACK_ENV=production`
1. Run
1. `bundle exec rackup -e production`
1. `open http://localhost:9292/_edit`
## Run test
1. rake db:migrate RACK_ENV=test
1. bundle exec rspec
## License
MIT
## Contact
https://github.com/yhara/nlog2