Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
rake tasks for deployment
Ruby Shell

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
tmp
.gitignore
CHANGES
README
Rakefile
TODO
app-deploy.gemspec

README

= app-deploy 0.6
by Lin Jen-Shin (aka godfat-真常[http://godfat.org])
  godfat (XD) godfat.org

== LINKS:

* github-project[http://github.com/godfat/app-deploy]

== DESCRIPTION:

 rake tasks for deployment

== FEATURES:

$ rake -T app
(in /home/photos)
rake app:daemon:restart[config]                        # restart the daemon cluster
rake app:daemon:start[config]                          # start the daemon cluster
rake app:daemon:stop[config]                           # stop the daemon cluster
rake app:deploy                                        # deploy to master state
rake app:deploy:after                                  # after deploy hook for you to override
rake app:deploy:before                                 # before deploy hook for you to override
rake app:gem:install                                   # install gems
rake app:gem:reinstall                                 # reinstall gems
rake app:gem:uninstall                                 # uninstall gems
rake app:git[cmd]                                      # generic git cmd walk through all dependency
rake app:git:clone                                     # clone repoitory from github
rake app:git:pull                                      # pull anything from origin
rake app:git:stash                                     # make anything reflect master state
rake app:git:submodule                                 # init and update submodule
rake app:install                                       # install this application
rake app:install:after                                 # after install hook for you to override
rake app:install:before                                # before install hook for you to override
rake app:install:remote[hosts,git,cd,branch,script]    # remote installation
rake app:install:remote:setup[user,file,hosts,script]  # upload a tarball and untar to user home, then useradd
rake app:install:remote:sh[hosts,script]               # invoke a shell script on remote machines
rake app:install:remote:upload[file,hosts,path]        # upload a file to remote machines
rake app:install:remote:useradd[user,hosts,script]     # create a user on remote machines
rake app:nginx:reload                                  # reload config
rake app:nginx:restart                                 # restart nginx
rake app:nginx:start[config,nginx]                     # start nginx, default config is config/nginx.conf, nginx is /usr/sbin/nginx
rake app:nginx:stop[timeout]                           # stop nginx
rake app:rack:restart[config]                          # restart the rack cluster
rake app:rack:start[config]                            # start the rack cluster
rake app:rack:stop[config]                             # stop the rack cluster
rake app:server:restart                                # please define your server:restart task

== SYNOPSIS:

 see
   - example/Rakefile
   - example/rack_cluster.yaml
   - example/daemon_cluster.yaml

== REQUIREMENTS:

* ruby 1.8.7+
* [required] rake
* [optional] rubygems for rubygems task
* [optional] git      for git      task
* [optional] nginx    for nginx    task
* [optional] rack and daemons for rack-cluster task
* [optional] thin     for thin     task

== INSTALL:

* gem install app-deploy

== LICENSE:

Apache License 2.0

Copyright (c) 2008-2009, Lin Jen-Shin (aka godfat 真常)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Something went wrong with that request. Please try again.