similar to: Capistrano adding shared files

Displaying 20 results from an estimated 300 matches similar to: "Capistrano adding shared files"

2006 Oct 13
0
Deployment problem with Capistrano
I have everything set up that I need - SVN, webserver (Apache2.2), mongrels, etc. Capistrano is deploying the site well enough, to a point. I need to create sym-links to my file-column created content directories (in shared) and copy the database.yml file (also from shared) into the current folder. I''ve written the following task: desc "Copy the database config file over and set
2006 Feb 25
1
a switchtower recipe to copy rather than checkout
For those who want use switchtower to deploy to a remote server that does not have access to the main subversion repository, here is a task I just hacked up to use switchtower to deploy to my servers by copying a local directory to the servers, rather than have the servers use svn checkout. I actually create my local directory using an svn export, but you can do whatever you like here, and just
2006 Apr 03
2
Capistrano - how do I set up the database config?
My app is set up without database.yml in version control. I created a shared_path/config dir, and put database.yml in it. After I update the code, I want to link the app''s database.yml file to the shared config. So I added this task desc ''Copy the database config'' task :after_update_code, :roles => :app do run "ln -s #{shared_path}/config/database.yml
2006 Mar 16
4
Capistrano :update_code problem
Hi all, I want to love capistrano and I''m so close. My error is occuring while running the update_code task... (apologies for the shell spew) ************************************************************************* * executing "rm -rf /home/henster29/sites/glitter/releases/20060316143447/log /home/henster29/sites/glitter/releases/20060316143447/public/system &&\n ln
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
Hi. I am using BackgrounDRb to process thumbnails and upload to S3 - things are hunky-dory in development (thumbs are generated, these are uploaded to S3, the metadata is saved to trhe DB, and I get a nice status page updated by periodic calls via ask_status), but when I tried to deploy to our staging server and stop/start BackgrounDRb via Capistrano, things blew up - well, not exactly,
2013 Nov 29
4
Capistarno deploy each time ckeditor assets removed.
Hi all, I have Rails 4.0.0 app, After capistrano deploy my ckeditor_assets are being removed. Could not symlink to shared/ckeditor_assets folder. I have followed this step : namespace :uploads do > > desc <<-EOD > Creates the upload folders unless they exist > and sets the proper upload permissions. > EOD > task :setup,
2010 Apr 07
1
Per-user flags for shared folders
As I see in 2.0 there willn't be ability to control which flags should be shared, and which should be per-user. But may be there is some plans to implement settings to control that? It'll be great if you can write in dovecot-shared file which flags should be per-user. It's very usefull for group mailboxes, when each user should work with such mailbox like with their own. Now I
2007 Jan 18
4
[ActsAsFerret] Index Directory Disappears and Not Re-created
Hi, This is a recurring issue for me - the index directory on my production server and everything below it occasionally disappears and isn''t reconstructed. I tried manually creating the entire index path manually before starting the server, but it still happened while the server is running. I don''t know what''s causing the index to disappear and I''m also not
2006 May 14
3
Configuring Capistrano For Local To Remote Deployment
How does one configure capistrano for moving local file to your remote server? In the docs it says that one cannot use file:// so what''s the configuration step for resolving this issue? Thanks in advance, -Conrad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060514/93bb7173/attachment-0001.html
2006 Mar 08
6
best practices for handling uploaded images and capistrano
Quick question: I am going to use the file_column plugin to manage uploading thumbnails. By default the images are stored in the public/ dir of the rails project. The problem I see is that when capistrano redeploys a new build and symlinks it in none of the images will be in the new public/ dir... Does anyone have a solution for this? Thanks, Zack -------------- next part -------------- An
2007 Jun 15
2
Ferret and capistrano, how to keep the indexes?
Hi, i''m using capistrano to deploy the application, but every time i deploy it change all the directory, so i lost also the ferret''s indexes. Is it possible to keep them in order to prevent the reindex on each deploy? -- Posted via http://www.ruby-forum.com/.
2012 Dec 04
2
403 Forbidden from nginx when unicorn started in debug mode
I am using nginx with unicorn as a reverse proxy. Has been fantastic, but needed to look through some code for first time. Using ruby 1.9.3p194 with rails 3.2.9, development mode with ssl enabled, I start unicorn with -d ...and it does not get served up by nginx. Any ideas, or more information needed? Thanks! Jet Below is my unicorn.rb for developent: # config/unicorn.rb env =
2006 Apr 01
4
Saving images in shared directory w/ Capistrano/SVN?
Hi all, I''m using Capistrano and SVN to version control and deploy, but I''m not sure what to do about my images directory. I use file_column and RMagick to save images to the disk under a model called "Image", and they''re saved in public/image/... etc. Each time I deploy a new version, my image folder doesn''t exist anymore. I don''t want
2006 Dec 20
0
How to debug acts_as_ferret on production system?...
Hi, I''ve been happily using acts_as_ferret on a Rails site in development mode, but deploying to a production system causes some errors I haven''t been able to resolve. My production deployment setup is Apache/mongrel and I''m sharing the index directory across each deployment version by linking {current_path}/index to {shared_path}/index in the Capistrano setup. Edge
2006 Feb 19
8
SwitchTower to skip config/ directory
Hello, I am trying to figure out how to use switch tower.I have a local copy of source code and I want to put it on the host.Now I dont want to put directories like config/ because the settings on the host and the one on my machine are different. Any way to do this? Also is svn necessary to use SwitchTower? Vivek -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 18
3
capistrano and Dreamhost issue
Hi, i''m striving to capistranize a foo app on DH. Everything is hosted on DH to simplify a bit : - svn repository (http access) - the application - the DB I used the recipe of Jamis Buck modified by Geoffrey Grosenbach which you can find here : http://nubyonrails.com/pages/shovel_dreamhost I did the least modifications possible. As recommended. 1) When I launch the
2006 Jan 24
2
SwitchTower and multiple database.yml files - how do you deal with them?
Hi everyone, What are other people doing with regards to database.yml being in version control? My dilema: I set up my rails app in svn using these instructions: http://wiki.rubyonrails.com/rails/pages/HowtoUseRailsWithSubversion The part to note is where I ignore database.yml, allowing different developers to keep their own database.yml without clobbering other developers'' files.
2005 Jan 24
2
Problem with incorrect permissions with shared folders
Hi, I'm seeing strange permissions when using an email client to create a new sub folder in a shared folder. This is dovecot-1.0test61 I have a directory /data/mail/shared owner=root group=shared permissions=2770 I have a file /data/mail/shared/dovecot-shared owner=root group-shared permissions=2660 User fred in in group shared (in /etc/group) My understanding
2006 Oct 03
3
Capistrano and Uploaded Documents
I have an application I''m working on which allows me to upload files. The files are stored somewhere in the public directory so that they can be accessed directly. When I deploy an update with Capistrano, I ''lose'' the files because of the current symlink points to the new checked out version. Before I start working on a solution, has anyone else already solved this
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