https://github.com/krisleech/git-by-proxy
Simple rake tasks to rope in a graphic designer who doesn't want to use version control and (S)FTP's stuff up to the server instead.
https://github.com/krisleech/git-by-proxy
Last synced: 5 months ago
JSON representation
Simple rake tasks to rope in a graphic designer who doesn't want to use version control and (S)FTP's stuff up to the server instead.
- Host: GitHub
- URL: https://github.com/krisleech/git-by-proxy
- Owner: krisleech
- Created: 2009-08-19T10:20:42.000Z (almost 17 years ago)
- Default Branch: master
- Last Pushed: 2009-08-19T14:58:36.000Z (almost 17 years ago)
- Last Synced: 2025-03-17T04:44:46.083Z (about 1 year ago)
- Homepage: http://interkonect.com
- Size: 78.1 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Git by Proxy
============
== Description
Simple rake tasks to rope in a graphic designer who doesn't want to use version control and (S)FTP's stuff up to the server instead (eg. file in the public and views folders). Includes multi environment deployment. But is intended to be used for collaborating on the staging version of a website.
Made to scratch my own itch.
Author: Kris Leech ("moc.tcenokretni@hceel.sirk".reverse)
Copyright: (c) 2009 Interkonect Services UK Limited
License: GNU
== Installation ==
From RAILS_ROOT: git clone git://github.com/krisleech/Git-By-Proxy.git vendor/plugins/git_by_proxy
== Assumptions ==
Your using RubyOnRails
You login in to the server with a ssh key
Your using git and mod_rails
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
NB: It would be wise to set 'pretend' to true and see what commands will be executed before running this on a live server
== Other tasks/examples ==
rake server:setup RAILS_ENV=production
rake server:deploy RAILS_ENV=production
rake server:get_ui
rake server:restart_app (assumes passenger)
rake server:update_code
== Todo ==
Can this be done better, please fork/suggest...
Better name/description
Extract more in to deploy.yml for configurability
Add a symlinked shared folder of non-versioned files (eg. user uploads)
Add cleanup task to remove old 'backups'
Is there a way to automatically run 'server_environment' dependancy...
Add logging on client and server side
== 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]