root/trunk/INSTALL

Revision 263, 1.2 kB (checked in by johnbywater, 1 year ago)

Added 'simplejson' to list of required Python packages.

Line 
1 DomainModel is distributed as the Python package 'dm'.
2
3 Please report any problems, or other feedback, here:
4
5     mailto:kforge-dev@lists.okfn.org
6
7 ## Full Installation Instructions ##
8
9 ### 1. Check all dependencies (see below) ###
10
11 Python dependencies marked with a (*) will be automatically installed when you
12 run setup.py.
13
14   * A database such as postgresql or mysql
15   * python-sqlobject (Python module for SQLObject) (*)
16   * python bindings for the database you have installed (e.g. python-psycopg for    Postgres)
17   * django v0.95 see http://www.djangoproject.com/download/
18   * Python Imaging Library (debian package python-imaging)
19   * simplejson
20
21
22 ### 2. Install package ###
23
24   $ python setup.py install
25
26 ### 3. DONE ###
27
28 That's it!
29
30   *   *   *   *
31
32 ## Testing ##
33
34 To setup domainmodel for testing and development:
35
36 1. First copy the etc/domainmodel.conf.new and edit the file to be appropriate
37    to your installation.
38
39 2. Set environment variable DOMAINMODEL_SETTINGS to point to this new
40    configuration file.
41
42 3. Create a database and database user corresponding to the settings entered in
43    the configuration file in step 1
44
45 4. Run the tests
46
47   $ ./bin/domainmodel-test
48
Note: See TracBrowser for help on using the browser.