Forum: Ruby on Rails Does anyone have a primitive rake "deploy to test" script?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Wes G. (Guest)
on 2006-04-05 02:02
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
Steve K. (Guest)
on 2006-04-05 07:42
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 G. 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
This topic is locked and can not be replied to.