Community Page
- www.dennmart.com Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Good evening sir. Is this really stalkerish?
- i get info about fatten up those error pages for internet explorer 6.0.. thank you. ______________________________________________________________________ Alex
- Arg, thanks for figuring this out!
- Furthermore, it's useful to take in mind that Google doesn't like sites concerned to porno, so it may result getting some filters... Your blog is interesting with no porn. :)
- Thank for post. Also you can always ask me!
Jump to original thread »
Capistrano - Like that person you hate, yet end up falling in love with
Started by dennmart · 8 months ago
One of the reasons I went exploring into Rails was because of Capistrano, a utility that greatly helps deploying Rails sites into production servers, by automating many of the tedious setup steps needed to deploy new changes into production. I know I can’t be the only one who has onc
... Continue reading »
1 year ago
1 year ago
namespace :deploy do
namespace :spinner do
desc :app do
dispatcher_type = fetch(:dispatcher_type, 'mongrel')
dispatcher_instances = fetch(:dispatcher_instances, 3)
dispatcher_bind_ip = fetch(:dispatcher_bind_ip, '127.0.0.1')
dispatcher_starting_port = fetch(:dispatcher_starting_port, 8000)
rails_env = fetch(:rails_env, 'production')
script = 0755
end
end
end
Then, use a trigger to execute it:
after "deploy:update_code", "deploy:spinner:write"
Note, this is for cap 2.x.
1 year ago
namespace :spinner do
desc :app do
dispatcher_type = fetch(:dispatcher_type, 'mongrel')
dispatcher_instances = fetch(:dispatcher_instances, 3)
dispatcher_bind_ip = fetch(:dispatcher_bind_ip, '127.0.0.1')
dispatcher_starting_port = fetch(:dispatcher_starting_port, 8000)
rails_env = fetch(:rails_env, 'production')
script = 0755
end
end
1 year ago
Thanks for that snippet. It does sound better having Capistrano take care of the spinner script rather than keeping it in the repository. I'm sure I'll find it very valuable when deploying my upcoming project. Thanks!
1 year ago
i will be thankful to you.
1 year ago
My previous seminar went well. Now I have an another query, if you help me in this also.
As there is a concept of remoting in .net,
is this possible to deploy the components in ROR and to make these components communicate with each other as done in remoting concept?
Is this possible in ROR?
Please guide me.
Thanks
Harbans