Coder Social home page Coder Social logo

arbylee / snapci-ruby-heroku Goto Github PK

View Code? Open in Web Editor NEW

This project forked from snap-ci-examples/snapci-ruby-heroku

0.0 2.0 0.0 3.35 MB

Getting Started with deploying Heroku from Snap CI

Home Page: http://snap-ci.com

Ruby 69.12% JavaScript 1.85% CoffeeScript 1.18% CSS 5.03% HTML 22.83%

snapci-ruby-heroku's Introduction

Build Status

A barebones Rails app which can easily be deployed to Heroku using [Snap CI] (snap-ci.com).

This application supports the [Getting Started with Snap CI - simple deployment example] (https://docs.snap-ci.com/getting-started/simple-deployment-to-heroku/).

Deploying this app to Heroku using Snap CI

##Get setup

Sign up for:

  • [Github] (www.github.com) and validate your email address
  • [Heroku] (www.heroku.com) and choose Ruby as your primary development langauge
  • [Snap CI] (www.snap-ci.com) and authorize Snap CI to access your Github account

##Fork this repository

  • Login to Github and fork this repository
  • You should now see the snapci-ruby-heroku as one of your Github repositories as: github-userid/snapci-ruby-heroku

##Add forked repository to Snap CI

  • Go to [Snap CI] (www.snap-ci.com)
  • Add the snapci-ruby-heroku build. The build should start and run the two default stages - FastFeedback and Integration.

##Customise your build

  • Select “Customize it here”
  • From the build pipeline screen click on the "Add Stage" button
  • From the commonly used stages click on “Deploy” and select “Ruby”
  • Then select “Basic” under “Heroku”
  • Supply your Heroku credentials
  • Specify an application name. Don't use upper case characters and make it unique (we suggest you include your user ID)
  • Save the configuration

##Your app is deployed to Heroku using Snap CI

  • Snap CI will build and deploy your app to Heroku
  • Navigate to your new app (e.g. heroku-app-name.heroku.com).
  • Celebrate!

Running locally

Make sure you have Ruby installed.

  $ git clone [email protected]:snap-ci-examples/snapci-ruby-heroku
  $ cd ruby-getting-started
  $ bundle install
  $ bundle exec rake db:create db:migrate

Your app should now be running on localhost:5000.

snapci-ruby-heroku's People

Contributors

suziejprince avatar jonmountjoy avatar schneems avatar streisguth avatar friism avatar ntassone avatar nicolasleger avatar pmq20 avatar o-i avatar

Watchers

James Cloos avatar Richard avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.