deployment

Complete Deploy vs Out of Cycle Deploy

I'm not sure If any of you have encountered this scenario.We have small small projects or fixes that we need to push to LIVE every other day. There is one set of team that says "do a clean build and deploy on prod server". The other set says we don't have to do a full deploy we will just do a dll drop or aspx drop. They have listed ...

How is Capistrano related to Rake?

I'm starting to read up on Capistrano after using Rake tasks to deploy apps for a long time. It's really striking how similar it is to Rake. A lot of parallel commands (like cap -T) and a lot of identical concepts (namespaces, tasks). Does anyone know the history behind that? Is Capistrano an extension of Rake, or built on top of it? ...

Deploy standalone PHP/MySQL applications

I have been looking for a solution that would allow me to deploy PHP applications on Macs and Windows. I've been developing online applications but would like them to be offline applications as well but that would require that Apache/PHP/MySQL be installed on their platforms as well. I've set up WAMP and it was NOT that easy. Lots of con...

Java Deployment Toolkit - When will installs be inline?

I'm trying to do some business before a user is magically redirected to download java, in the case where java can't do an inline install (and upgrade java WITH java). Is there any way to tell what deployJava.js will end up doing? I need to handle significant business logic before the user is redirected, and the documentation is scarce as...

Best way to move files from Dev to Live site (django)

Hello, I've got a svn checkout locally which I make changes to, once I commit them I go in and update my dev copy on the server. My question is, what's the best way to get my files to my production site. I'm not much with linux commands, but I was thinking I could make a script that moves all files except .pyc and .svn files over to ...

What is preferred method for modifying connection string settings in DAL class library when deploying asp.net web app?

I deployed my asp.net web app project that has a reference to my DAL class library. How can I change the connection string in my DAL library once deployed? The DAL code was ignoring my web.config connection string and trying to use the app.config value. I thought I would be able to edit a config file that is associated with the class l...

Pattern for WCF Kerberos Clients where Server uses User Account

We have a WCF (Windows Communication Foundation) client and service application. We're using Windows Authentication with Kerberos. The issue is that the service may be run under one of many accounts (maybe Network Service, maybe a specific user account -- depends on the IT group). This account is not not likely to change daily, but ...

Web Application Deployment architecture recommendations

We will be developing 3 asp.net web applications. Each of them will have it's own database. We don't want these applications to share resources because they're from different departments. What is the recommended hardware setup that will allow us to have staging and production environments for each application? ...

How to prevent non-admin user from disabling the Outlook 2007Addin?

As per the MSDN documentation with the Office 2007 system, office Addins are registered under HKCU and not under HKLM. I have an Outlook 2007 addin which is also registered under HKCU. But the problem is that, even non admin users can also disable the addin since it is in HKCU. However with Outlook2003 addin this was not possible becau...

Questions about default deploy Task in Capistrano for PHP project and config.php

Hello All, I'm having a full day understanding the use of Capistarno. Is really a nice tool that will save me lots of time. I'm actually wanting to use it to deploy one of my many php apps :) If I have a config.php with an $env="development" variable. Is there any way to make Capistrano change this variable for me to "production" inste...

My existing webparts won't work in SharePoint

I have a standard ASP.NET 2.0 website. It has a webpage page. I have a webpart in my Company.Web.dll that I display on my webpart page on my website.All is good!!! I would like to use this same webpart in SharePoint 2007. I have a "site definition" project in VS2008 using Extensions for SharePoint 1.2. I have tried various ways to add...

How can I specify separate app and DB servers for Capistrano?

I'm trying to deploy a Rails app to a CentOS server running Passenger. The SVN repository and MySQL database are each hosted on separate machines. (In other words, there's a total of three separate hosts involved.) Here is my deploy.rb file (taken from the Passenger docs): set :application, 'myapp' set :repository, 'svn+ssh://user@svn...

ASP.NET deployment - How to share BIN across multiple WebApp Projects?

What is the best practice for sharing the assemblies of a bin folder across multiple ASP.net websites in IIS 7? I've got several sites, each with slightly different HTML front ends, but all with the same middle tier logic and DB. I don't want to redploy the same dlls to each of the many site's bin folders everytime I make a change. Th...

maintaining class library assemblies utilized by multiple projects.

Okay, so here's the scenario. Project A has a class library developed for it (lets call it MyLib). I release project A (in house project) with version 1 of MyLib. I begin development on Project B, but expand MyLib to version 2, including a few optimizations to existing types. If I release Mylib 2 to both Project A and Project B, I'm...

eclipse is not building my EAR correctly - sometimes it forgets the war, and always leaves out my library jars - why?

I just upgraded to eclipse galileo from ganymede sr2 and now eclipse is doing a really bad job of building my EAR file during deployment. There are several utility jars that are supposed to be included that it is completely ignoring, and there is a single war file that it only includes in the EAR occasionally. Thus, when I deploy to gl...

publishing a website using svn export

I currently ftp all my files to my website when i do an update (over a slowish adsl connection) And I want to make things easier, so I just recently started using a hosted svn service, and i thought i could speed things up a bit by doing an svn export of my website directly onto my webserver i have tried that a few times and it seems...

Rollback code in Capistrano.. for a PHP Project

Hello, I'm looking for an easy way to go back to the previous release if something goes wrong with the last realease in Capistrano Is there any command like "cap goback" to undo the last deploy? (thus updating the current symlink to it's old location) Is this built-in or I just have to make a task myself? Here's my recipe: set :user...

Why keep a copy of an app on the DB host?

A lot of Capistrano example recipes include a :db role. By default the deploy task exports the app code to all hosts in all roles. So that suggests that it's typical for people to keep a copy of their app on the DB host. Also, in Capistrano's distributed deploy.rb recipe, :deploy:migrate looks like this: task :migrate, :roles => :db, :o...

how do i wait for service when another service depends on it

Hello everybody, i'm about to deploy two different but dependent war-files into a single jboss (AS 4.2.x GA) One implements some webservices (jax-ws) exposing their interfaces through a wsdl. The other one is a (say) web frontend using the aformentioned webservices. When I drop both warfiles to $JBOSS_HOME/server/default/deploy at the ...

Automated Deployment in Rails

I'm working on my first rails app and am struggling trying to find an efficient and clean solution for doing automated checkouts and deployments. So far I've looked at both CruiseControl.rb (having been familiar with CruiseControl.NET) and Capistrano. Unfortunately, unless I'm missing something, each one of them only does about half of...