juno / jrnl

source of my weblog

Home Page:http://journal.sooey.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jrnl

Ruby on Rails CI

Getting Start

ready,

$ bundle --path vendor/bundles
$ bundle exec rails db:setup

set,

$ cp config/application.example.yml config/application.yml
$ vi config/application.yml

$ bundle exec rails c
> u = User.new
> u.email = 'foo@example.com'
> u.password = '*****'
> u.password_confirmation = '*****'
> u.save!

go!

$ bundle exec rails s

Documentation

Generate API documents.

$ bundle exec rake yard
$ open doc/index.html

Testing

Create test database.

$ RAILS_ENV=test bundle exec rake db:create
$ RAILS_ENV=test bundle exec rake db:migrate

Running tests.

$ bundle exec rake spec

View coverage report.

$ open coverage/index.html

About

source of my weblog

http://journal.sooey.com

License:MIT License


Languages

Language:Ruby 71.4%Language:HTML 19.4%Language:SCSS 7.6%Language:JavaScript 0.7%Language:CSS 0.5%Language:Shell 0.3%Language:Procfile 0.1%