Skip to content

jeffleeismyhero/inploy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, Subversion, 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 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
- 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:

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

CONFIGURATION

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

deploy.application = "signal"
deploy.repository = 'git://github.com/jeffleeismyhero/test.git'
deploy.user = 'jeffleeismyhero'
deploy.hosts = ['production']
deploy.path = '/opt'

Path and user are optional, default values are /opt and root.

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.

About

Rails deployment made easy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%