Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
db
 
 
log
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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 >= 2.3

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

You can’t perform that action at this time.