https://github.com/krisleech/rake-deploy
Automated deploy and backup for Rails Application
https://github.com/krisleech/rake-deploy
Last synced: 4 months ago
JSON representation
Automated deploy and backup for Rails Application
- Host: GitHub
- URL: https://github.com/krisleech/rake-deploy
- Owner: krisleech
- Created: 2009-08-20T09:20:41.000Z (almost 17 years ago)
- Default Branch: master
- Last Pushed: 2009-08-24T18:09:01.000Z (almost 17 years ago)
- Last Synced: 2026-01-12T22:43:25.980Z (5 months ago)
- Homepage:
- Size: 74.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
RAKE Deploy
===========
== Description
Simple RAKE tasks to manage code, data and files on a remote server over ssh.
Run any rake task on the remote server.
Made to scratch my own itch.
Author: Kris Leech ("moc.tcenokretni@hceel.sirk".reverse)
Copyright: (c) 2009 Interkonect Services UK Limited
License: GNU
== Installation ==
== Assumptions ==
Your using RubyOnRails
You login in to the server with a ssh key
Your using git, passenger and MySQL
Your on POSIX operating system (tested on Ubuntu/Mac)
== Getting Started ==
Create deploy.yml in 'config' folder with server_environment settings (see example)
rake server:setup
rake server:deploy
rake server:code:pull
rake server:database:backup
NB: It would be wise to set 'pretend' to true and see what commands will be executed before running this on a live server
== Todo ==
Add a symlinked shared folder of non-versioned files (eg. user uploads)
== Alternatives ==
If you need multi-server deploys such as separate web, app & database servers you will need to use something like Vlad or Capistrano. However staging/development versions of sites don't usually have this requirement.
== License
This library is licensed under the GNU General Public License (GPL)
[http://dev.perl.org/licenses/gpl1.html]