Changed instructions so that Python binary is just "python" instead of "python2.4".
This commit is contained in:
parent
4d00c92e3a
commit
23c193a843
22
INSTALL
22
INSTALL
|
@ -23,7 +23,7 @@ First, install the prerequisites:
|
|||
In Debian GNU/Linux, you can issue the following command to install these
|
||||
packages:
|
||||
|
||||
apt-get install python2.4 python-cherrypy python-pysqlite2 \
|
||||
apt-get install python python-cherrypy python-pysqlite2 \
|
||||
python-simplejson python-tz python-imaging python-chardet
|
||||
|
||||
|
||||
|
@ -34,7 +34,7 @@ Initialize the database with the starting schema and default data. You should
|
|||
run this command from the base Luminotes directory:
|
||||
|
||||
export PYTHONPATH=.
|
||||
python2.4 tools/initdb.py -l
|
||||
python tools/initdb.py -l
|
||||
|
||||
|
||||
running Luminotes Desktop
|
||||
|
@ -42,7 +42,7 @@ running Luminotes Desktop
|
|||
|
||||
To start Luminotes, run:
|
||||
|
||||
python2.4 luminotes.py -l
|
||||
python luminotes.py -l
|
||||
|
||||
This will run the local Luminotes web server and automatically launch a web
|
||||
browser so you can use Luminotes. You don't need to create an account or
|
||||
|
@ -87,7 +87,7 @@ First, install the prerequisites:
|
|||
In Debian GNU/Linux, you can issue the following command to install these
|
||||
packages:
|
||||
|
||||
apt-get install python2.4 python-cherrypy postgresql-8.1 \
|
||||
apt-get install python python-cherrypy postgresql-8.1 \
|
||||
postgresql-contrib-8.1 python-psycopg2 python-simplejson \
|
||||
python-tz python-imaging python-chardet
|
||||
|
||||
|
@ -131,7 +131,7 @@ run this command from the base Luminotes directory:
|
|||
|
||||
export PYTHONPATH=.
|
||||
export PGPASSWORD=mypassword
|
||||
python2.4 tools/initdb.py
|
||||
python tools/initdb.py
|
||||
|
||||
|
||||
development mode
|
||||
|
@ -144,7 +144,7 @@ soon as they're modified.
|
|||
|
||||
To start the server in development mode, run:
|
||||
|
||||
python2.4 luminotes.py -d
|
||||
python luminotes.py -d
|
||||
|
||||
Connect to the following URL in a web browser running on the same machine:
|
||||
|
||||
|
@ -205,7 +205,7 @@ domain you're using. For instance:
|
|||
|
||||
Then to actually start the production mode server, run:
|
||||
|
||||
python2.4 luminotes.py
|
||||
python luminotes.py
|
||||
|
||||
You should be able to connect to the site at whatever domain you've configured
|
||||
Apache to serve.
|
||||
|
@ -251,15 +251,15 @@ for production servers.
|
|||
|
||||
First, install the prerequisites:
|
||||
|
||||
* python-dev 2.4
|
||||
* python-dev 2.4 or 2.5
|
||||
* libmemcache-dev 1.4
|
||||
* memcached 1.4
|
||||
* cmemcache 0.91
|
||||
* cmemcache 0.95
|
||||
|
||||
In Debian GNU/Linux, you can issue the following command to install these
|
||||
packages:
|
||||
|
||||
apt-get install python2.4-dev libmemcache-dev memcached
|
||||
apt-get install python-dev libmemcache-dev memcached
|
||||
|
||||
The cmemcache package is not currently included with Debian Etch, so you'll
|
||||
have to build and install it manually. Download and untar the package from:
|
||||
|
@ -268,7 +268,7 @@ have to build and install it manually. Download and untar the package from:
|
|||
|
||||
From the untarred cmemcache directory, issue the following command as root:
|
||||
|
||||
python2.4 setup.py install
|
||||
python setup.py install
|
||||
|
||||
This should build and install the cmemcache module. Once installed, Luminotes
|
||||
will use the module automatically. When Luminotes starts up, you should see a
|
||||
|
|
Reference in New Issue