Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3496914
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:18:26+00:00 2026-05-18T12:18:26+00:00

Due to limited resources, I would like to implement the following on a single

  • 0

Due to limited resources, I would like to implement the following on a single server currently running our production website. The goal is to implement version control and a testing server whilst still maintaining as secure a server as possible.

  1. Setup a Subversion repository using
    Apache and SSL and a second virtual
    host to act as our test server using
    a different dns name and port.

  2. Import production site into the repository and then checkout the files in both the production and test Document Roots.

  3. Create a post-commit bash script to
    run an update on the test working
    copy and depending on whether a
    commit is labeled with a certain
    keyword, also run an update on
    production working copy.

I’m sure there will me some small implementation details I have forgotten, but is this a good strategy, ignoring any performance hit on the server? Anything I am missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T12:18:27+00:00Added an answer on May 18, 2026 at 12:18 pm

    I would advise against an automatic deployment to production based on a keyword in a commit message. It will be too easy to mistakenly push code to production and too difficult to determine when/why it happened.

    I would prefer to see you write a script that can be executed manually whenever you are ready to push to production. This script will tag the code and export to production based on the tag. This will allow you to pull that tagged revision whenever you want and gives you a starting point if you need to create a branch for production support while you are in the middle of developing new functionality for your next major release.

    PS. Unless you are pushing every commit to TEST, you should be tagging your push to test as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are transfering our code from C++ to C# and due to limited knowledge
I am writing an application in Google appengine python. Due to the limited support
I am good with ideas, but due to my limited programming experience I sometimes
I have a SQL Server database table with a column called resources. Each cell
I'm currently developping a commercial Windows application (closed-source, free demo with limited functionality available)
Due to certain constraints, such as using Windows Azure, I am limited to using
I have a git repository residing on a server with limited memory. When I
I have a problem of out of memory due to limited virtual memory heap
I am noticing a lot of possible applications of mobile software is limited due
i'm using captivate 5 to create an elearning project, due to captivates limited animation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.