Changeset 966:0148927bf706
- Timestamp:
- 12/05/10 18:39:54 (18 months ago)
- Branch:
- stable
- Files:
-
- 2 edited
-
INSTALL.txt (modified) (3 diffs)
-
README.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
INSTALL.txt
r960 r966 3 3 = Installation Instructions = 4 4 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 SVNcheckouts.5 Installing 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. 6 6 7 7 == Preflight Entertainment == … … 13 13 === virtualenv === 14 14 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: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, 16 16 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 {{{ 17 20 #!sh 18 # easy_install virtualenv 21 $ su adhocracy 22 $ virtualenv /opt/adhocracy/env 19 23 [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 21 34 $ python virtualenv.py /opt/adhocracy/env 22 35 [more gibberish] 23 36 $ source /opt/adhocracy/env/bin/activate 37 }}} 24 38 25 39 Whenever you enter the virtualenv, distutils will only install packages to the virtualenv's library instead of your real site-packages directory. … … 40 54 == Getting Adhocracy == 41 55 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.** 43 57 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. 58 Adhocracy's source code is hosted on PyPI, so download the version of your choice from http://pypi.python.org/pypi/adhocracy/ and unpack it. 50 59 51 60 == Configuration == -
README.txt
r908 r966 22 22 ====================== 23 23 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. 24 Please consult INSTALL.txt
Note: See TracChangeset
for help on using the changeset viewer.
