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

  • SEARCH
  • Home
  • 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 857641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:25:47+00:00 2026-05-15T08:25:47+00:00

What is the best way to deal with config / directory / OS differences

  • 0

What is the best way to deal with config / directory / OS differences using SVN to develop and deploy on 2 different platforms?

I am developing in Windows and deploying to Linux.

I’d like to use my home PC to test the files before using commit, I’m using a web framework and you must specify the paths to your system and application files for the framework. Obviously those are different on the 2 machines.

I have the option of using a linux server at home, as a last resort. I really like working with SVN using a GUI right now since I am new to SVN web development.

So what would be the best solution to config differences between my development and live servers?

There has got to be an easier way then changing the file everytime I commit it to the live server, which is really against what SVN is trying to accomplish in the first place.

  • 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-15T08:25:47+00:00Added an answer on May 15, 2026 at 8:25 am

    One option is to keep the configuration files out of the repository – set them up on their own for both your local and server machines, and then don’t touch them again unless you have to. (Using the svn-ignore: property can keep you from accidentally adding the config files to the repository later on.)

    Another option is to try to use relative paths and then have the config/etc directories be in the same relative location to the working directory, even if they’re not in the same absolute locations.

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

Sidebar

Related Questions

What is the best way deal with out-of-sequence Ajax requests (preferably using a jQuery)?
Can somebody please tell me the best way to deal with different window sizes
What is the best way to deal with storing and indexing URL's in SQL
What is the best way to deal with XML documents, XSD etc in C#
From what I understand, the best way to deal with dates in the Zend
Does anyone know the best way to deal with concurrent uploads and what todo
What is the best way to deal with utility functions in a OOP PHP
What is the best way to deal with the $db_conn variable once I create
What is the best way to deal with input elements that are currently not
I wonder what is the best way to deal with 3 levels deep and

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.