deployment

Push to Nexus Using Leiningen

I wrote a Clojure project using Leiningen and would now like to add the resulting jar to a Sonatype Nexus server. I installed lein-clojars, since this comes with a push command that seems to accept an optional repo arg if you would like to push somewhere besides Clojars. However, whenever I try this, I get a JSchException: Auth fail. It ...

How to deploy SQL CE 4 CTP to shared hosting?

How do I deploy SQL CE 4.0 with EF4 to a shared hosting provider for ASP.NET MVC 2.0? I've included System.Data.SqlServerCe.dll, and the amd64 + x86 directories in my bin folder, but keep getting a ".net provider not found". I realize it's currently in CTP, but this is just for testing purposes. My project + host is configured for .net ...

Update-SPSolution stops application pools on IIS

I have a ps1 script that deploys all of my webparts. I started noticing an error (Error 503 service unavailable) after running Update-SPSolution. What is happening is that when I upgrade all my webparts, the application pools for all SharePoint web applications stop. It also takes about 12 minutes per web part to deploy (which seems like...

.Net Application references another .Net Application in same .sln, referenced App's .exe.config not being copied over?

One console application in a .net solution references another console application in the same solution but when building the first one, the second/referenced one's secondapp.exe.config file is not being deployed over.. does anyone know why or how I could do that? ...

Best practice to merge config files and deploy them

On a regular base, we do some changes (modify or add) on our web application config file. Every time someone adds a new config line, he has to tell the team that he was adding a new config part to the global config. We have a scaffolding config under version control. Is there a smart way to merge the new config template with your existin...

Is Team Foundation Server the right solution to automatically publish .net website to remote server?

We currently build our .net website in C# in Visual Studio 2010 Pro on our dev server, then manually publish it and upload to the live server where it is copied over the current files to go live. We want to automate this process as much as possible and if possible push it at a certain time, such as every day at midnight. We don't curren...

Help me with this ActiveRecord Error in rails

Hi, I was deploying my application in staging and it use to work properly. But in the recent deployment I am getting a crazy error like this, NoMethodError (undefined method `find_or_initialize_by_user_name' for #<Class:0xb6dd8388>): app/models/user.rb:49:in `find_or_create_account' app/models/user.rb:24:in `authenticate' app/con...

How do I distribute .tlb file of a C# COM+ application that is referenced by a C# WCF application?

I have a C# WCF application that references another .NET DLL that is actually a COM+ application. If I build my C# WCF application, the COM+ DLL naturally gets placed in the output folder. The contents of this output folder is then used for building the deployment package (MSI). After the application is installed on the target system,...

Capistrano uploads the .git directory

I am using git with capistrano. I initialized my project inside my folder on my local machine as such: git init I then pushed the project the server directory I then called cap deploy The deploy works, except that it uploads the local .git folder structure, as well as my .gitignore and Capfile to a publicly accessible folder. Here's...

What solution do you use to automatically test your web application health or validity after deployment? (.net)

I'm looking for a simple to setup and to use solution to test the validity or health of a .net web application. The ideal solution would allow the developers to add his important tests as functions just like In unit testing and the ui would look like any unit testing running application, but in a web pages. Typical tests: permission pr...

Choose settings based on machine name

When we deploy applications, there is usually a separate machine for production and development. Most of the applications have settings in a regular .NET App.config or Web.config file. For example: <add key="Dev_Setting1" value="val1"/> <add key="Prod_Setting1" value="val2"/> <add key="Prod_Setting1" value="val3"/> <add key="Prod_Set...

Deployment woes: What do I do after "svn up"?

I've got several questions. I have no idea how the heck to deploy... After doing "svn up" on my production server, I'm not sure how to "refresh" my server so that the changes are reflected when you visit it. What can I do to refresh my server to see the changes in production? (I tried rebooting.) I also noticed that some of the files t...

Where should VSTO-developed extensions be installed?

I am building an extension ribbon for Excel. Besides the ribbon DLL I will have a data access DLL and a .sdf (SQL CE database file). In which directories should they be installed? Is there a best practice for deploying this project? It will be used at several sites around the country. ...

Deploying software made in Visual C# Express (2010)

7 Questions: 1 Can I sell the software I make in it? 2 What kind of licenses am I allowed to use? 3 Any templates for Terms of Use & Conditions? 4 Can I just distribute the exe in the /Release folder? 5 What if I use class libraries? 6 How do I stop people from installing it after the trial period is up? 7 How do I make a custom install...

How to create setup project that support multiple instances (multiple installing)

Hay all. im using vs 2010 , and i have created a project which im trying to install using the setup from vs 2010. i need it to be able to be installed multiple times. and i didnt find the answer on the web. i have read some documents about orca and transform but not an understandable example. thanks in advance. ...

Deploying webapp in Tomcat6

I have the following problem. When I developed my application locally I was deploying it using Netbeans support. Now I need to deploy the application on the official server. I installed Tomcat6 and it displays the start page properly but how to deploy my app? Which changes are needed to make ot work on port 80 (at the moment it works on ...

What deployment automation solutions must be on my short list for a windows platforms?

We are looking for tools to orchestrate complex deployments. We use a variety of MS technologies (IIS 6, MS SQL, Windows 2003 Servers, .NET 4.0) and have developed point solutions of varying qualities for deployment of websites (lousy), databases (good), and other stuff (OK). Our major holes right now are gluing it all together (orchestr...

Packing, caching, JS and CSS in PHP that differentiate between development and production environment

I am trying to make development easy and have highly optimized output in production. The goals of what I am trying to do is: Make production pages fast! I would like that the Google Page Speed and YSlow return the best scores. This means: Combine and compress JS files and CSS and position the group in the right place (bottom or top o...

Deployment question - ClickOnce vs other methods - Need to periodically check for new images but there won't be a new version of the application

We have a system where we need to install this on 80+ client machines. We thought that ClickOnce might be a good option, but we are hoping to have a 'drop folder' where our Creative team can drop new images for the application. Once they do this, they can also update a config file that points to the images. Each of these changes shoul...

Deploy PHP web system to multiple locations

I am developing (solo web developer) a rather large web based system which needs to run at various different locations. Unfortunately, due to some clients having dialup, we have had to do this and not have a central server for them all. Each client is part of our VPN, and those on dialup/ISDN get dialed on demand from our Cisco router. A...