Clone wiki

qatrackplus / v / 0.2.8 / deployment / stand_alone_migration

If you spent a lot of time configuring the standalone demo version of QATrack+ and would like to migrate your test configuration to a permanent QATrack+ installation you can take the following steps (after you've completed the initial setup of your permanent server).

  • Open a Windows command prompt and navigate to the location of your standalone QATrack+ installation e.g.:
    cd "C:\Users\rataylor\Desktop\qatrackplus-portable-0.2.7"
  • Type the following command:
    "Portable Python\App\python.exe" qatrackplus\ dumpdata --natural --indent=4 -e contenttypes -e auth.Permission > data.json

The data.json file will now contain the contents of your demo database and is ready to be loaded into your production database using the following steps (make sure you activate your QATrack+ virtualenv first).

  • Copy the data.json file to the root directory of your permanent QATrack+ installation.
  • Enter the commands (if you did any initial test/unit configuration on your permanent database prior to this, the first command will IRRETRIEVABLY DELETE IT! If you're starting with a fresh production installation this isn't a concern...):
    python reset qa units  # answer yes, yes  <- This DELETES existing test/unit config in db
    python loaddata data.json
    and you're done!

If you run into any trouble with this process, please post to the Google Group