Changeset 966:0148927bf706


Ignore:
Timestamp:
12/05/10 18:39:54 (18 months ago)
Author:
Bernhard Reiter <ockham@…>
Branch:
stable
Message:

Update INSTALL.txt and README.txt

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • INSTALL.txt

    r960 r966  
    33= Installation Instructions =  
    44 
    5 Installing Adhocracy is, unfortunately, a complicated process. The administrator should have at least some experience in dealing with Python packages, Unix shell commands and building packages from SVN checkouts.  
     5Installing Adhocracy is a somewhat complicated process. The administrator should have at least some experience in dealing with Python packages, Unix shell commands, server configuration (for deployment purposes) and optionally, building packages from mercurial checkouts.  
    66 
    77== Preflight Entertainment ==  
     
    1313=== virtualenv === 
    1414 
    15 Adhocracy installs about five metric tons of Python packages. In order to keep your Python install clean, lean and mean, you will want to use a [http://pypi.python.org/pypi/virtualenv virtualenv]. To get going, try this:  
     15Adhocracy installs about five metric tons of Python packages. In order to keep your Python install clean, lean and mean, you will want to use a [http://pypi.python.org/pypi/virtualenv virtualenv]. To get going,  
    1616 
     17 * either install the virtualenv package found in your system's package manager (on Debian based systems, run  `apt-get install virtualenv`) and do 
     18 
     19{{{ 
    1720#!sh 
    18 # easy_install virtualenv 
     21$ su adhocracy 
     22$ virtualenv /opt/adhocracy/env 
    1923[gibberish] 
    20 # su adhocracy  
     24$ source /opt/adhocracy/env/bin/activate 
     25}}} 
     26 
     27 * or, if your system doesn't have virtualenv pre-packaged, try this:  
     28 
     29{{{ 
     30#!sh 
     31$ easy_install virtualenv 
     32[gibberish] 
     33$ su adhocracy  
    2134$ python virtualenv.py /opt/adhocracy/env 
    2235[more gibberish] 
    2336$ source /opt/adhocracy/env/bin/activate 
     37}}} 
    2438 
    2539Whenever you enter the virtualenv, distutils will only install packages to the virtualenv's library instead of your real site-packages directory. 
     
    4054== Getting Adhocracy ==  
    4155 
    42 **If you're a developer, read http://trac.adhocracy.cc/wiki/DevelopmentHints instead of this part.** 
     56**If you're a developer (or just would like to checkout the source code from the mercurial repository), read DevelopmentHints instead of this part.** 
    4357 
    44 There is not currently a release on PyPI, so the repository is the only way to install Adhocracy. If you're looking for a stable version, look into http://trac.adhocracy.cc/browser/branches for the latest release branch. If you just want to install Adhocracy for deployment, directly check out the Package via easy_install. This will not leave you with a repo checkout to work on, but it is cleaner and simpler than raw SVN. 
    45  
    46 #!sh 
    47 $ easy_install http://svn.adhocracy.cc/trunk 
    48  
    49 This will install any required Python libraries, including Pylons, Paste, SQLAlchemy, repoze.who, repoze.what, whoosh and a few others. 
     58Adhocracy's source code is hosted on PyPI, so download the version of your choice from http://pypi.python.org/pypi/adhocracy/ and unpack it. 
    5059 
    5160== Configuration ==  
  • README.txt

    r908 r966  
    2222====================== 
    2323 
    24 We recommend that you install ``adhocracy`` inside a virtualenv as it has _many_ dependencies. 
    25  
    26 You still need to install pylucene by hand sadly (with some tweaks it can also go into the virtualenv). 
    27  
    28 All dependencies are listed in setup.py so if you want to hack on it, we recommend to install it via:: 
    29  
    30         python setup.py develop 
    31  
    32 If you want to just use it, installing ``adhocracy`` via using easy_install (or pip) is recommended:: 
    33  
    34     easy_install adhocracy 
    35  
    36 Make a config file as follows:: 
    37  
    38     paster make-config adhocracy config.ini 
    39  
    40 Tweak the config file as appropriate and then setup the application:: 
    41  
    42     paster setup-app config.ini 
    43  
    44 Then you are ready to go. 
     24Please consult INSTALL.txt 
Note: See TracChangeset for help on using the changeset viewer.