eveel/serious — Issue #3: Refactoring of bin/serious
Author: eveel
Created: 2012-02-07 07:27:15+00:00
State: open

The `bin/serious` script is the first thing that new Serious user seeing and this script is working not pretty good. It is nice to refactor it for the great justice.

At first, it operates with countless amount of different variables and constants. I guess, we’ll be satisfied by following definitions:

```ruby
# source directory when lib/site views & assets can be found
GEM_ROOT = File.expand_path('../..', __FILE__)

# target directory that is specified by user who wants to create a new blog
BLOG_ROOT = some_stuff_around(ARGS[0])
```

In second, we have to ensure tests passing and correct functionality of this script. I’m not sure that it works, because I have created [my blog](http://plove.eveel.ru) directly with bare hands.