Skip to content

codeship-library/ruby-rails-quickstart

Repository files navigation

Ruby/Rails Quickstart with Codeship Pro

Codeship Status for whiteotter/ruby-rails-quickstart

Michael Hartl's Rails Tutorial example configured for testing on Codeship Pro

Local Setup

  • Boot up app on local machine with Docker Compose -- docker-compose up
  • Hop over to http://localhost:3000/ to confirm that app is up and running via Docker Compose
  • Shut down app with docker-compose down
  • Now run a Codeship Pro build on your local machine with our CLI tool. Install, then run jet steps
  • jet steps process will follow instructions of codeship-steps.yml, building/pulling Docker images as needed then proceeding to spin up a Docker container for each step, executing its command in isolation. If you wish for work to persist between steps/containers, then consider setting up Docker volumes on your codeship-services.yml.

SCM Setup

  • Initialize as a new git repo -- rm -rf .git && git init && git add . && git commit -m 'first commit'
  • Create new repository on your SCM of choice (Github, Gitlab, Bitbucket) and push commit

CI/CD Setup

  • Sign up for a free Codeship Pro account
  • Once signed in, follow prompts to set up a Codeship Pro project
  • Commit a change to your repo and watch as a Codeship Pro build is triggered!

About

Codeship Pro Quickstart with Michael Hartl's Rails Tutorial sample app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published