<commit_before>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** now, create database in mysql:
<pre><code>mysql>> create database #{database name defined in config/config_USERNAME.yaml} DEFAULT CHARSET utf8;</code></pre>
4. Install all dependence gems. Be sure that all gems are installed successed.
<pre><code>ElvenHut$ bundle install</code></pre>
5. Apply migrations to run Sequel's migrator with bin/sequel -m:
<pre><code>ElvenHut$ ruby setup.rb</code></pre>
6. Then run the server:
<pre><code>ElvenHut$ rake server</code></pre>
7. To run tests:
<pre><code>ElvenHut$ rake</code></pre><commit_msg>rewrite readme<commit_after>[http://www.asiteof.me](http://www.asiteof.me)
========

A backup of my website powered by [ElvenHut](https://github.com/halfelf/ElvenHut).

---

#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.

---

#New Feature#
* Feb 2th, 2013: Import archives from wordpress xml.
{'fraction_non_alphanumeric': 0.1266233766233766, 'fraction_numerical': 0.00974025974025974, 'mean_word_length': 4.707407407407407, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 25, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7071165', 'n_tokens_mistral': 492, 'n_tokens_neox': 468, 'n_words': 180}