$ git clone [email protected]:lon10/ajax-blog.git
or$ git clone https://github.com/lon10/ajax-blog.git
- Install ruby-2.2.3
cp ./config/secrets.sample.yml ./config/secrets.yml
optional: generate and change keys withrake secret
cp ./config/database.sample.yml ./config/database.yml
and configure it$ rake db:create && rake db:migrate
rails s
- run all test :
$ bundle exec rspec
- coverage:
coverage/index.html
$ rubocop --format html -o rubocop.html
$ rubocop.html