root/tags/domainmodel-0.1/INSTALL

Revision 78, 1.1 kB (checked in by rgrp, 2 years ago)

minor: slight refactoring of INSTALL instructions primarily in the area of dependency listing.

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
19 ### 2. Install package ###
20
21   $ python setup.py install
22
23 ### 3. DONE ###
24
25 That's it!
26
27   *   *   *   *
28
29 ## Testing ##
30
31 To setup domainmodel for testing and development:
32
33 1. First copy the etc/domainmodel.conf.new and edit the file to be appropriate
34    to your installation.
35
36 2. Set environment variable DOMAINMODEL_SETTINGS to point to this new
37    configuration file.
38
39 3. Create a database and database user corresponding to the settings entered in
40    the configuration file in step 1
41
42 4. Run the tests
43
44   $ ./bin/domainmodel-test
45
Note: See TracBrowser for help on using the browser.