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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:15:45+00:00 2026-05-19T03:15:45+00:00

I want to create a development environment with my central repository hosted somewhere like

  • 0

I want to create a development environment with my central repository hosted somewhere like bitbucket/github. Then on my dev server and my production server I will have clones.

I will work on new features and make local commits on the dev server. Once this is at a stage that it can be pushed to production, I will push from the development clone to the central repository, then pull from the central repo to the production server.

All this makes sense, but there are 2 parts I cannot figure out.

How to keep the data-base and user-generated content (file uploads, etc.) in sync?

Also, will user generated content get wiped out when I do my next pull+update on the production server?

How do others address this?

Additional info:
This is going to be a MySQL/PHP website. I am also planing on using a mvc framework (probably cake) and I haven’t firmly decided which DVCS to use but so far Mercurial is what I am thinking. Not sure if this info matters but adding just in case.

  • 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-19T03:15:46+00:00Added an answer on May 19, 2026 at 3:15 am

    That is why a DVCS is not always the right tool for release management: once your code is on the server remote repo, you should have another “rsync” mechanism to:

    • extract the right tag (the one to put into prod)
    • transform/copy the right files
    • leave intact other set of files/database.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create another instance of magento for development purposes. I've copied the
I want to create a prototype that's based on automatic speech recognition in order
I want to create 64 bit apps for (for example) 64 bit Windows 7.
I know there are already a couple of questions out there about sharepoint development
In order to do some multi-platform GUI development, I have just switched from GTK
We have an Oracle Enterprise database in production and another instance that we use
(This is really a newbie question about Rake & Rails & dependencies in general.
I have a requirement to store the data in encrypted form in database tables.
Let's say I'm starting out with this model: class Location < ActiveRecord::Base attr_accessible :company_name,

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.