github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

dcrec1 / inploy

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 220
    • 22
  • Source
  • Commits
  • Network (22)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Rails deployment made easy — Read more

  cancel

http://www.diegocarrion.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

spec locaweb 
alekenji (author)
Fri Jan 22 09:53:08 -0800 2010
dcrec1 (committer)
Fri Jan 22 10:17:51 -0800 2010
commit  10be87a2e41cff14334c1283dd2c456e9c146dd9
tree    8df2f0e8a14754409702bda7fb423010a9d221c5
parent  b349dc133302e6761367975a30f7a0bb5b6c9cf0
inploy /
name age
history
message
file .gitignore Sat Oct 31 10:21:15 -0700 2009 added vim's .swp files to ignore list [Douglas Campos]
file README.textile Sun Jan 17 10:15:42 -0800 2010 Readme updated [Vitor Pellegrino]
file Rakefile Mon Nov 23 14:12:37 -0800 2009 bumped to 1.3.0 [dcrec1]
file deploy.rb.sample Sat Oct 31 10:21:14 -0700 2009 added custom branch option [Douglas Campos]
file install.rb Tue Oct 20 08:11:41 -0700 2009 locaweb templates clones repository with depth ... [dcrec1]
directory lib/ Fri Jan 22 10:17:50 -0800 2010 fixed optional branch [alekenji]
directory spec/ Fri Jan 22 10:17:51 -0800 2010 spec locaweb [alekenji]
README.textile

ABOUT:

Inploy is a Rails plugin to deploy applications in a easier way. You can use Inploy from a remote machine or from the local machine, too. It’s integrated with Git, Rake and intended to do most of the common work, so you don’t need to.

Actually, Inploy has four rake tasks:

  • inploy:remote:setup

- connects to a list of servers
- clones a git repository
- runs inploy:local:setup

  • inploy:remote:update

- connects to a list of servers
- runs inploy:local:update

  • inploy:local:setup

- copies config/.sample files to config/
- creates directory tmp/pids
- executes init.sh file case it exists
- installs gems
- migrates the database for the production environment
- cleans the cache in public/cache
- cleans cached assets in public/assets if jammit is installed
- parses less files if more:parse tasks exists
- package the assets if asset:packager:build_all task exists
- touch tmp/restart.txt

  • inploy:local:update

- pulls the repository
- installs gems
- migrates the database for the production environment
- cleans the cache in public/cache
- parses less files if more:parse tasks exists
- package the assets if asset:packager:build_all task exists
- touch tmp/restart.txt

INSTALLATION:

As a plugin:

script/plugin install git://github.com/dcrec1/inploy.git

As a gem:

sudo gem install inploy

Please remember that when used as a gem, Inploy should be available in the deploy servers.

CONFIGURATION

Create a config/deploy.rb file and configure it something like this:

deploy.application = "signal"
deploy.repository = 'git://github.com/dcrec1/signal.git'
deploy.user = 'dcrec1'
deploy.hosts = ['hooters', 'geni']
deploy.path = '/opt'

# OPTIONALS

deploy.ssh_opts = '-A'       # default empty
deploy.branch = 'production' # default master
deploy.sudo = true           # default false

LICENSE:

(The MIT License)

Copyright © 2009

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
‘Software’), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server