staging

Auto discover projects in continous integration Tools

We have a code base composed of many projects. Currently each time we add a project on SVN we must reconfigure CruiseControl to start build and test on such project. I'm looking for a tool (better if open source) able to scan the SVN repository and find new projects by itself. A project can be "a SVN folder containing trunk, tags, branc...

What is a good way to set up a dev, staging and production workflow with wordpress

Wordpress presents some challenges since it tends to keep too much in the database, making it hard to move from server to server. What are some other issues to look out for? What was your workflow like? ...

Sitecore publishing target disabled

Hi I'm moving our sitecore production server to a new setup, so have set up a new publishing target for the new server so that I can publish to both old and new during the transition. These are called 'live' (current server) and 'live2' (new server). I have the new database set up and can switch to it and browse it in the content edito...

How to create a rails staging environment in engineyard?

I have a production instance in engineyard up and running well. I would like to create a new staging instance for internal testing. I cloned the existing production instance, changed Framework Environment to staging. I can deploy all the code to staging instance from Github. Engineyard reported the server is fully configured and ready. ...

Mod_Rewrite: Testing URL got indexed in Google - How do I create a proper 301 redirect?

I worked on a website for which I had a "development URL" that looked something like this: www.example.com.php5-9.dfw1-2.example.com/ Now, several weeks after the website launch, there is at least one page of content indexed on Google with that URL. Question: How do I redirect all requests from that test URL to reroute to the actual ...

External APIs and staging server on different domain

My staging and production servers are on different servers and domains. Which would be the best way to deal with external APIs that have a key that relies on domain names? Is this bad practice and both should be on the same server? ...

Moving from Subversion to Mercurial - how to adapt the workflow and staging/integration systems?

We got all psyched about from from svn to hg and as the development workflow is more or less flushed out, here remains the most difficult part - staging and integration system. Hopefully this question goes a bit further then your common 'how do I move from xxx to Mercurial'. Please forgive long and probably poorly written question :) W...

Rails: differentiating staging from production

I've got a production server and a staging sever in which new features are tested before moving them to production. The staging server is physically different from the production one (different hosts with different urls), but it mimics it as much as possible (i.e. same packages, same gems, etc). Rails.env = 'production' on both servers....

How to 'git push' to a repo that was cloned as read-only onto my team's staging server

I cloned a repo using its GitHub read-only URL onto my team's staging server. I made some changes there to the config files. I'd like to change the repo clone on the server to be read-write, so that I can 'git push' the config file changes. How do I do this? Or is there a better 'best practice' way to deal with this scenario th...

Azure cspkg uploading speed

... is very slow. We're trying to deploy a 280 MB cspkg file through the VS2010 tools, and it takes roughly 35 minutes to upload, and another 10 minutes to deploy. Are there any ways to speed up this upload process? We're comptemplating putting invariant data into a blob and pulling it from there, but we'd like to know what's happening ...

The state of XEN vs KVM for inhouse virtual server farm like live farm

Hello, so we have a life server Farm, conventional stuff not virtualized. This is to stay that way for the time beeing. The servers we are talking about are: Loadbalancer, DB master, DB Slaves (2x), Webservers (2x), CMS server. All in all 7 servers per farm. We want to have one to many rather exact "copies" of the life structure for in...

Subversion planning for development, staging, live

Good evening everyone. I am in the planning stages of restructuring our subversion process and deployment in the attempt to minimize code loss and production deployment issues. Our current system simply consists of creating a sub domain name on a random server to test with before pushing live which drives me nuts. I wanted to hear som...

How would you Document a StagingArea

Hey Folks, i have to document a staging area. But i have problems by document the realtion between the diffrent databases. i want to do something like that Table 1(DB 1) Table 2(DB 2) Column 1 ETL logic-> Coulmn 1 I tried out Visio but i didn't found the right shapes which would fit my needs. Are there exp...

Sitecore Clear Cache Programatically

Hello, I am trying to publish programatically in Sitecore. Publishing works fine. But doing so programatically doesn't clear the sitecore cache. What is the best way to clear the cache programatically? I am trying to use the webservice that comes with the staging module. But I am getting a Bad request exception(Exception: The remote s...

How to set up a staging environment on Google App Engine

Having properly configured a Development server and a Production server, I would like to set up a Staging environment on Google App Engine useful to test new developed versions live before deploying them to production. I know two different approaches: A. The first option is by modifying the app.yaml version parameter. version: app-sta...

Bookmarklet to swap (live and testing) URLs in browser

I used to use the following bookmarklet code to swap URLs between my site's staging server and live server, so I could test that staged pages had been successfully pushed live: Staging URL: www.stage.site.com/folder/page.html Live URL: www.site.com/folder/page.html Here's the code for that bookmarklet; the script works in both directi...

How to restrict access to a staging environment

Our workflow currently has developers working on locally hosted copies of our web application with SVN for source control. We have post-commit hooks that deploy each new revision to a designated staging environment running on a subdomain. My question is, what is the best way to restrict access to these staging sites so that they can't b...

Disable git staging area

I really don't like the git staging area, it just makes my life unnecessarily confusing. Is it possible to disable it so that all edited and new files are in a single context? So that git diff shows the diff between the repository and my working directory (and I don't have to also type git diff --cached) and so that git ci checks in my ...

Git production/staging server workflow

Hi Currently my website (production server) already have a lot of code in it. And now I want to start using Git for my projects and setup a staging server for my team. Can anybody give me any advise? Here is the picture in my mind: Production - Prodcution server which already have codes ↑ ...

PHP - Best/Better/Optimal way to setup a Staging/Development server

I recently launched a service, meaning I can no longer work directly on the site, or I do so at a risk. I haven't been able to find any "standard" or "best" way to make a development server. The two things I have seen are a) Using a GIT or SVN to host the data (this doesn't quite solve my problem, I need to be able to develop somewhere...