Skip to content

yhara/nlog2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Requirements

  • Ruby (tested with 3.0)

Install

  1. git clone
  2. Configuration
  3. cp config/nlog2.yml.example config/nlog2.yml
  4. Edit config/nlog2.yml
  5. bundle exec rake config:hash_password
  6. Setup
  7. bundle install
  8. bundle exec rake db:migrate RACK_ENV=production
  9. Run
  10. bundle exec rackup -e production
  11. open http://localhost:9292/_edit

Run test

  1. rake db:migrate RACK_ENV=test
  2. bundle exec rspec

License

MIT

Contact

https://github.com/yhara/nlog2