root/plone4bio.buildout/trunk/INSTALL.txt
| Revision 121, 1.7 KB (checked in by mauro, 3 months ago) | |
|---|---|
|
|
Requirements:
- PIL (aka python-imaging in most unix systems).
- python development files (it could be python-dev in unix systems).
- gcc and usual tools for compiling and installing.
- BioPerl (optional) see BIOPERL.txt
- postgres and/or mysql development files (optional) for plone4bio.biosql support.
Installing a BioPlone site:
1. Make a symbolic link buildout.cfg to select the profile you want to use; production, staging or development. For example:
$ rm buildout.cfg $ ln -s demo.cfg buildout.cfg
2. Run bootstrap.py with the python interpreter you want to use. This will install Buildout.
$ python2.4 bootstrap.py
or if you've used MacPorts for MacOSX to install your python 2.4:
$ /opt/local/bin/python2.4 bootstrap.py
or if you've used Fink for MacOSX to install your python 2.4:
$ /sw/bin/python2.4 bootstrap.py
- Run buildout
$ bin/buildout -v
note: it may take some time ...
- Start up the instance
$ bin/instance fg
5. If you selected demo.cfg or postgresql.cfg on step 1 then you can stop here and open your browser at http://localhost:8080/plone4bio you can also login as manager (admin/admin)
6. Log into the ZMI at http://localhost:8080/manage as (admin/admin). Create a Plone site and then go to the quickinstaller and install the following products:
plone4bio.base plone4bio.pscoils
Now you should be able to add new Sequence types to your Plone site and to run the pscoils (http://www.plone4bio.org/pscoils/) code against it.
7. To extend the BioPlone site with new predictors, refer to the skeleton code in plone4bio.pscoils: you should be able to create a set of tools to run against your sequences.
