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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:06:24+00:00 2026-05-13T09:06:24+00:00

This is specific to my current project. But maybe the answers will reveal some

  • 0

This is specific to my current project. But maybe the answers will reveal some more generic solutions.

Here is the situation:

  • I develop django project on my Windows box
  • I use SVN to commit to a SVN repository
  • while developing I use development server that comes with django
  • There is a testing server (apache) that runs somewhere else, and everytime i finish something I need to manually copy my work via WinSCP/Putty and make sure it works on testing server
  • Testing server is accessible for our testers to use and test and report bugs

I would like to automate this process as it is very painful. It involves me to export the whole repository, copy to the testing server, get rid of the pyc files, sometimes restarting apache, use the correct settings.py (usually some renaming).

I would like to for the testing server to automatically retrieve new files after each SVN commit. I could write a custom script to do all this stuff, but something tells me that there are some easy-to-use solutions I could use to change my workflow to make things less painful.

One extra bonus. There is a designer that works on HTML/CSS on the templates directly on the testing server. I need to check whether he made changes and I transfer them to my computer and subsequently to SVN rep. My boss thinks it’s too dangerous to give him SVN access. Any ideas to help me out with this, also?

  • 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-13T09:06:24+00:00Added an answer on May 13, 2026 at 9:06 am

    deployment:

    I would say its better to do the deployment the same way you do for the production. Fabric is a good solution.

    SVN way:

    If you want to do it in the SVN way, create a branch called testing, once you have a working version of your code and ready for testing merge the development branch to the testing branch. Make sure you have permission on the testing branch to restrict everyone from merging to the test branch. After merging the test team should take a update to a specific version.

    .pyc

    It unnecessary to manually remove pyc files you can add a svn hook which can ignore the pyc files on commit. Create a file .svnignore

    *.pyc
    

    and run this command

    svn -R propset svn:ignore -F .svnignore .
    

    If you’ve already got yourself into the mess of versioning your compiled files, then you can do either of these things.

    find -name "*.pyc" -exec svn revert {} \;
    find -name "*.pyc" -exec svn delete {} \;
    

    Django settings file

    You can set the environment variable through which django can take up corresponding settings file. Django set env

    Designer

    well designer working directly on the test server is not a bonus point. 🙂 its a headache. In a ideal environment no one should touch the code in the testing server. Create a separate branch for the designer or he can commit to the dev branch which all the developers can merge.

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

Sidebar

Related Questions

I have a specific problem but the solutions are hopefully probably generic for similar
In my current project, I am creating a number of user controls, some of
I apologise for the length of this question. My current Mathematica programming project involves
Here's a simple design patterns question: As part of my current project, I have
For a current project i need to setup a specific view to display a
In my current project I see a lot of this type of code: public
When I run the code for this specific value of dt, an exception is
Alright, this specific layout is just annoying me. And can't seem to find a
I'm trying to remove a specific node from a XmlNodeList named listaWidths. This specific
I'm currently integrating a CMS (developed in PHP) authentication with Active Directory. This specific

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.