similar to: Environments and updating production applications

Displaying 20 results from an estimated 10000 matches similar to: "Environments and updating production applications"

2006 Mar 07
10
[PREVIEW] SmallCap
Somebody suggested SmallCap and that sounds great. This is by no stretch of the imagination Capistrano, so it might better be named MicroCap but it may be useful to some who have (as I do) modest needs in this regard, especially for on-server versioning. Here''s a preview of the usage: Usage: ruby smallcap.rb [options] -s, --server=SERVER Copies app to specified
2006 Jul 22
16
capistrano deploy failing on /public/system "No such file or directory"
trying like mad to get this to work. cap setup works fine, sets up the dir structure on dreamhost (tho setup doesnt create the "current" symlink). on deploy, i get: * executing "rm -rf /home/USERNAME/dwightnight.org/releases/20060722060159/log /home/USERNAME/dwightnight.org/releases/20060722060159/public/system &&\n ln -nfs /home/USERNAME/dwightnight.org/shared/log
2006 Jul 24
22
which webserver to use in production?
Apologies in advance if this ignites a war of comflicting opinions.... I''m a few days away from going live with my first RoR application. It is completely database centric and each user will have his own queries so cacheing will not really help. I have a dedicated linux server being built by my hosting provider and I need to tell them which webserver to use. The databse is MySQL
2006 Jun 05
18
Ideas for Rails Shirt Graphics
I''ve had a couple ideas for Ruby on Rails shirt graphics for a little while now: 1. "Fuck You" superimposed over, oh, probably a Ruby gem. Or Rails of some sort. 2. "Ruby on Rails" superimposed over rails of cocaine. Maybe also with a graphic of a crazed looking coder. Anybody got graphics? Or can make them? Heh! Joe -- Posted via http://www.ruby-forum.com/.
2006 Mar 07
5
Capistrano: command never finishes?
Hi, I have created a small :restart task to overwrite the default one: task :restart, :roles => :app do sudo "/etc/init.d/lighttpd stop" sudo "/etc/init.d/lighttpd start" end This works fine and lighty does restart, but the last command never finishes, so I never return to the prompt. Here''s my output: cap restart loading configuration
2006 Apr 19
2
Capistrano on Windows
So, I''ve just completed my first develop-test-deploy-wait -fix-test-deploy, and although it was successful it was a nightmare to carry out. Aside from not knowing that sqlite doesnt have a facility to delete columns from tables, the whole operation reeked of "hacked," with multiple command windows open while I sprinted back and forth between my dev machine and the web
2006 Apr 12
5
Production deployment speed "wakeup" issue
The deployment scenario... Apache2 on shared host, proxying to lighttpd, which has 3 external fcgis running on localhost. The fcgis are managed by spinner/spawner. We''re noticing a definite speed issue on "first requests" to this site. For example: * Hit the site a few times, paying no attention to load time * Wait x period of time (haven''t quite narrowed this
2006 Jun 15
13
Best Approach to a ''Down for Maintenance'' Page?
What is the best way to implement a ''Down for Maintenance'' page across your Rails app? Ideally I would like to have a button in my admin section that toggles the display of a ''currently under maintenance'' page to every public request to the app (possibly with some dynamic content like estimated down-time) except for: - - requests from a specified IP
2006 May 31
19
Rails Deployment: Book recommendation?
Hello, I''m seeking a book on rails deployment (I think a general deployment on nix book can helps too) I need in depth information about Apache, FastCGI, (LightTPD maybe). I was thinking always I know what a web server is! but when I think more deeply about it (after reading Capistrano doc) it seems I need more info about app, web and db servers. stuff like how to config the app server
2006 Apr 08
4
Development Environment
I want to be able to code my rails apps either on my Desktop mac or my Powerbook using textmate. I want to build a Debian server that runs lighttpd, rails and mysql. Would I use samba on the server and access the files that way through TextMate or is there something else that folks use? and should I use subversion and if so, how would I do that in the scanario I''m describing.
2006 Mar 07
17
[UNDER CONSTRUCTION] YAC? (Yet Another Capistrano)
My needs are far more modest than Capistrano''s capabilities. Also, when working in a shared hosting environment, the Capistrano model can be outside the capabilities allowed by the Web host. I simply need to push selected directories (on a changed-file basis) out to a server. I have about 80% of the code written to do this (I''m considering YAC for the name, with a nod to
2006 May 25
2
Capistrano only runs migration against production env?
All, Just read in the Capistrano manual about the Capistrano "migrate" task. There it says that: "By default, all this task does is change to the directory of your current release (as indicated by the current symlink), and run rake RAILS_ENV=production migrate. You can specify that it should run against the latest release (regardless of what the current release is) by setting
2006 Apr 20
1
Capistrano not working for me
Hello fellow railers, I''m new to the whole RoR thing and I have finished installing and setting everything up on my OSX G4 Powerbook. I followed the step by step instructions at Hivelogic, running lighttpd and everything else. I''m having an issue with Capistrano. I''m following the tutorial at Apple: http://developer.apple.com/tools/rubyonrails.html Everything in
2006 Jun 29
13
Ideal Ruby on Rails Development Environment on Linux
Hello, I''m not a developer myself, but I work for a hosting company that tries to cater to the needs of developers and basically right now I am trying to create a hosting platform that will be perfect for ruby developers. This is a linux VPS service and I create the base templates to make the system look however i want it after install. I was hoping some of you could give me
2006 Mar 29
42
Production environment for Rails on Win32, anyone interested for a binary release?
Hi all, as part of adopting Rails in my company I had to go through the hassle of setting up a Rails production environment on Win32 system since we mostly use MS SQL as our database back end and also because we mostly dealing with customers who become green-blue-purple as soon as you mention Unix/Linux and run for the door. I also need to mention that most of our web applications are internal and
2006 Apr 16
2
Capistrano and multiple Dev environments?
I have working copies of code in development on multiple places - work machine, home machine, laptop, etc. I can''t always force these machines to use the same credentials; I end up with each machine having slightly different database.yml configurations. With Subversion-Pre-Capistrano, I left the entire config directory out of Subversion (or some kind of template; see
2011 Apr 07
3
Need help in changing data in production.
Hi everybody, I have to change a lot of data in production server and I don''t know what''s the best way to do it. To handle the permissions in the older version of my system I had two models: Group and Permision. class Group < ActiveRecord::Base has_many :actions end class Permission < ActiveRecord::Base belongs_to :group PERMISSION_NAMES = "..." end I
2006 Mar 22
1
Capistrano - run command
Man, I can''t wait to get my hands on the capistrano book when it comes out :-). I have the following task in capistrano.rake (any task in deploy.rb just does not want to be called) ========= desc "Restarts the lighttpd server" task :restart_server do run "/users/home/jkopanas/bin/lighttpdctrl restart" end ========= When I run rake restart_server I get the
2009 Aug 12
3
Commands I will need to know in production
I''m fairly certain this is an easy question to answer but I like to make things more complicated than they need to be. I notice that a lot of people have: RAILS_ENV=production .. in their environment.rb files I don''t have this in mine on production but passenger/apache startup my app just fine in production mode. So, is it really necessary? I also noticed that in order to
2006 Apr 03
16
Dealing with Application error (Rails) in production
Hi all, Week 2 working with Ruby on Rails... I have a working app in development that is now throwing a generic, "Application error (Rails)" message in production. How do I deal with this so I can find more information about why the error is being thrown in production, but not in development? Thanks! -- Posted via http://www.ruby-forum.com/.