Wes Gamble
2006-Apr-04 22:02 UTC
[Rails] Does anyone have a primitive rake "deploy to test" script?
Would anyone be willing to share a skeletal rake script to deploy an app. to a remote test server, set up the DB, etc. Something to just get started would be great. Old Ant person here, so fairly comfortable with the concept. Thanks, Wes -- Posted via http://www.ruby-forum.com/.
Steve Koppelman
2006-Apr-05 03:42 UTC
[Rails] Re: Does anyone have a primitive rake "deploy to test" scrip
That''s what Capistrano is for. It''s a high-level deployment tool built on top of rake. The default initial setup and long_deploy tasks it puts in deploy.rb are pretty close to what you want and should be easy to use as the basis for your task, too. The sample long_deploy task, for instance, deploys the latest version of the app from SCM, runs migrations to create or update the db schema, sets environment vars and restarts the webserver. http://manuals.rubyonrails.com/read/book/17 Wes Gamble wrote:> Would anyone be willing to share a skeletal rake script to deploy an > app. to a remote test server, set up the DB, etc. > > Something to just get started would be great. > > Old Ant person here, so fairly comfortable with the concept. > > Thanks, > Wes-- Posted via http://www.ruby-forum.com/.
Apparently Analagous Threads
- rake migrate VERSION=0 doesn''t appear to execute
- Capistrano/SwitchTower: DB activity for deploy task?
- text_field doesn''t call overridden ActiveRecord getters
- Wrap error_messages_for() call when no instance var present
- Best way to organize non-controller logic???