Changes between Version 2 and Version 3 of OracleSpatialTestSetup


Ignore:
Timestamp:
Oct 18, 2012, 4:04:28 AM (12 years ago)
Author:
Anssi Kääriäinen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OracleSpatialTestSetup

    v2 v3  
    1111Prerequisities
    1212==============
    13 
    14 Install Oracle client and set it up as documented in https://docs.djangoproject.com/en/1.4/ref/databases/#oracle-notes
    15 Install GeoDjango requirements as documented in https://docs.djangoproject.com/en/1.4/ref/contrib/gis/install/
     13On host machine:
     14 - Install Oracle client and set it up as documented in https://docs.djangoproject.com/en/1.4/ref/databases/#oracle-notes
     15 - Install GeoDjango requirements as documented in https://docs.djangoproject.com/en/1.4/ref/contrib/gis/install/
    1616
    1717======================
     
    1919======================
    2020
    21 Easiest way is to use Oracle VirtualBox with prebuilt Oracle installation VM.
     21Easiest way is to use Oracle VirtualBox with prebuilt Oracle installation VM. We will be using the VM as a database server only.
    2222
    2323#. Download and install **Oracle VirtualBox** from http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html or use package manager from your system.
    24 
    2524#. Download **Oracle Developer Day** image from http://download.oracle.com/otn/other/virtualbox/dd/Oracle_Developer_Day.ova
     25#. Use VirtualBox to launch the image
    2626
    2727 **NOTE: You may not use Oracle Developer Day VM for any other purposes than testing**
     
    3030Database setup
    3131==============
     32On virtual machine:
    3233
    3334#. Create a user and give the needed privileges::
     
    4344Run tests
    4445=========
     46On host:
    4547
    4648#. Create geodjango_oracle.py settings file (change IP to one that is reported in VM console)::
    47    
     49
    4850    TEST_RUNNER = 'django.contrib.gis.tests.GeoDjangoTestSuiteRunner'
    4951
     
    5254                'ENGINE' : 'django.contrib.gis.db.backends.oracle',
    5355                'PORT' : '1521',
    54                 'HOST' : '192.168.56.101',
     56                'HOST' : 'VM IP',
    5557                'NAME' : 'orcl',
    5658                'USER' : 'djangotest',
     
    5860        },
    5961    }
     62    SECRET_KEY = 'xxxxx'
    6063
    6164#. Run tests::
Back to Top