Giter Club home page Giter Club logo

chef-capistrano-roundsman's Introduction

Chef (solo), Capistrano and Roundsman Bootstrap

This repository contains a collection of cookbooks and configuration files, which can be used to manage your server dependencies and deploy your Rails, Sinatra or Middleman app. This is al made possible by Chef (solo), Capistrano and Roundsman, which combines the two for easy deployment.

Usage

Using all of this goodness, requires you to follow these easy steps:

  1. bundle install
  2. Edit config/deploy.rb (e.g. if you need to add a new stage) and config/deploy/apache-rails.rb (in case you're deploying a Rails app on Apache). If you're using Vagrant, you might want to edit config/deploy/vagrant.rb also. When you use Nginx instead of Apache, config/deploy/nginx-rails.rb is the stage to use and when you're deploying a static website created with Middleman, you could use config/deploy/nginx-middleman.rb.

That's it. When using Vagrant, you'll want to deploy to that stage. This is done by running cap vagrant deploy:setup and after that cap vagrant deploy. If everything went according to plan, you can deploy to your actual server by running the cap deploy:setup (or cap production deploy:setup) command. When that's done, run: cap deploy.

Note

This setup will either install Apache, MySQL and Passenger or Passenger compiled into Nginx and has been tested on Ubuntu 12.04 LTS. It can be used to deploy multiple projects. Just clone it into a separate 'deploy' project and create a new stage for each of your websites.

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.