Skip to content

zhaohanson1/rails_deploy_demo

Repository files navigation

Rails Demo

Setting up a basic RESTful API with MVC structure in Rails and testing metrics and deploying on Heroku.

CodeClimate

Maintainability

Maintainability

Test Coverage

Test Coverage

TravisCI

Build Status

Build Status

Reproducing this Repo

Setting up AWS C9 environment: https://github.com/saasbook/courseware/wiki/Setting-up-Cloud9

SaaS book:

  • Chapter 4: Introduction to Rails
  • Chapter 5: Advanced Rails
  • Chapter 8: Test-Driven Development

CodeClimate: https://docs.codeclimate.com/

Test Suites:

rails generate rspec:install
rails generate cucumber:install
rails generate cucumber_rails_training_wheels:install
rails generate jasmine_rails:install

Guard: http://saasbook.github.io/courseware/rspec/guard.html

SimpleCov:

# at TOP of spec/rails_helper.rb:
require 'simplecov'
SimpleCov.start

Heroku: https://devcenter.heroku.com/articles/getting-started-with-ruby

  • Migration: heroku run rake db:migrate
  • Seed: heroku run rake db:seed

Figaro:

TravisCI: http://saasbook.github.io/courseware/devops/travis-ci-setup.html

About

Following selecting sections of "Engineering: Software as a Service" and http://saasbook.github.io/courseware/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published