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 7009233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:50:10+00:00 2026-05-27T21:50:10+00:00

I have some questions about development and deployment. I’ll try to be clear: Notes:

  • 0

I have some questions about development and deployment. I’ll try to be clear:

Notes:

1- I’m using Codeigniter for my project. I have in my database.php config file set up two environments: development and production with two different settings, of course.

2- I have two domains in the same server, one is for development (dev.domain.com) and the other one for production (domain.com)

3- The SVN repository is on the same server and it is under a subdomain too (svn.domain.com)

4- Locally, Im using MAMP server and I have a virtual Host for testing. Also, I’m using Netbeans and Git for managing the repo (git-svn commands)

5- I read the other similar posts, but I think my project have some differences to take into account

Questions:

I want to make changes locally and then, using Phing, deploy the changes to the development environment. This environment is just for testing purposes, I want to keep my production environment running, but if I add some new features, I want to test them in a real environment (server) before add them to the production environment.

1- What happens with the config files? If I deploy the development environment, the database config should change aswell. I can do this with Phing, but then I’ll have changes on my working tree and I’ll need to commit it first and change them again when working locally.

2- Should I work with branches for every release to production? I can do a git svn rebase on the development environment, but what happens with the production one?

I have kind of mess on my head about all of this. Can you clear my mind a little bit, please?

Thanks in advance.

  • 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-27T21:50:11+00:00Added an answer on May 27, 2026 at 9:50 pm

    Just use 2 separate branches for DEV and PROD (or trunk+branch) with different configs and different deploy targets for Phing (per “branches”)

    Merge tested changes from DEV to PROD after debug, tag merged (and working) revisions in PROD tree without additional branching

    PS – using both Git and SVN seems as excess solution for me

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

Sidebar

Related Questions

I have some questions about using MySQLi queries, and related memory management. Suppose I
I have a few quick questions about the iPhone software development. I did some
I have some questions about how you set up your development environment. I'm running
I have some questions about android development. I have googled around, but cannot seem
I have some questions about basic CSS that I was unable to understand or
I have some questions about customers about NF mode for DB2. Google had very
I have some questions about multi-threaded programming and multi-core usage. In particular I'm wondering
I have some questions about logging, more specifically about setting it up and making
I have some questions about Perl's map function. Specifically: How does %hash = map
I have some questions about partitioning and strategy, how and when to use it.

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.