root/tags/domainmodel-0.2/INSTALL

Revision 185, 1.1 kB (checked in by heathd, 2 years ago)

noticed another dependency

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