A blog constructor for self-using.
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
db/migration
helpers
model
public
route
test
views
.gitignore
.travis.yml
Gemfile
Gemfile.lock
LICENSE
Procfile
README.md
Rakefile
config.ru
elvenhut.rb
setup.rb

README.md

ElvenHut

A blog constructor based on Sinatra for building tech posts site.


#Browser support

  • Tested with Safari and Firefox on Mountain Lion. All of them is the newest version.
  • Evil and OLD browsers (like IE6) will never be supported.

#Setup

  1. Duplicate the config template config/config.yaml and rename it config_USERNAME.yaml (which USERNAME is your account name in unix/linux).
  2. Rewrite config/config_USERNAME.yaml, specially the database name(default: elvenhut_database), username and password.
  3. ElvenHub can only support mysql and sqlite3 now, special the adapter in config file. You should create database manually if you use mysql:
mysql>> create database #{database name defined in config/config_USERNAME.yaml} DEFAULT CHARSET utf8;
  1. Install all dependence gems. Be sure that all gems are installed successed.
ElvenHut$ bundle install
  1. Apply migrations to run Sequel's migrator with bin/sequel -m, and then run the server :
ElvenHut$ rake server

#New Feature#

  • Feb 2th, 2013: Import archives from wordpress xml.

#Ruby Version#

  • 1.9.3
  • 2.0.0