Giter VIP home page Giter VIP logo

capistrano-lightning-talk's Introduction

Capistrano - Lightning Talk

This repository provides Capistrano lightning talk presentation : https://jeanfei.github.io/capistrano-lightning-talk It also provides a Vagrant configuration file to setup a virtual machine with apache2, and 2 virtual hosts to test Capistrano tasks.

Getting Started

Prerequisites

The project was originally built with : Virtualbox 5.1.12, Vagrant 1.9.1, vagrant-hostsupdater 1.0.2, ruby 2.4.0, osx 10.12.2

Installing

# Install and start virtual machine (see Vagrantfile, id_rsa key will be copied into VM, and password will be asked for /etc/hosts update)
$ vagrant up

# Bundler install http://bundler.io/
$ gem install bundler

# Install capistrano (see Gemfile and Gemfile.lock)
$ bundle install

Usage

Fork this repository. Commit, push modification into src/web directory, and execute Capistrano tasks.

Deploy changed with Capistrano tasks :

# Deployment directory
$ cd capistrano

# List all available tasks
$ bundle exec cap -T

# Simulate deploy dev
$ bundle exec cap dev deploy --dry-run

# Deploy dev : http://dev.capistrano-lightning-talk/
$ bundle exec cap dev deploy

# Deploy prod : http://capistrano-lightning-talk/
$ bundle exec cap prod deploy

# Rollback prod : http://capistrano-lightning-talk/
$ bundle exec cap prod deploy:rollback

# Deploy specific branch
$ bundle exec cap dev deploy BRANCH=my-feature-branch

capistrano-lightning-talk's People

Contributors

jeanfei avatar

Watchers

 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.