Skip to content

Commit dfe9f17

Browse files
committed
fixed bug #244367
1 parent ceab95d commit dfe9f17

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

INSTALL

+4-3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Graphite requires:
2020
pycairo (with PNG backend support)
2121
mod_python
2222
django
23+
python-pyparsing
2324
python-ldap (optional - needed for ldap-based webapp authentication)
2425
python-memcached (optional - needed for webapp caching, big performance boost)
2526
python-sqlite2 (optional - a django-supported database module is required)
@@ -60,12 +61,12 @@ This is very straight forward, especially if you are using the default sqlite
6061
setup.
6162

6263
NOTE: If you are using a custom database backend (other than sqlite) you must
63-
first create a $GRAPHITE_ROOT/web/local_settings.py file that overrides the
64+
first create a $GRAPHITE_ROOT/webapp/web/local_settings.py file that overrides the
6465
database related settings from settings.py.
6566

6667
Assuming you are using the default setup, the database is initialized like so:
6768

68-
cd /usr/local/graphite/web/
69+
cd /usr/local/graphite/webapp/web/
6970
sudo python manage.py syncdb
7071
# you will be prompted to create an admin user, this is a good idea
7172

@@ -78,7 +79,7 @@ tables under the database named by DATABASE_NAME.
7879

7980
Restart apache and you should see the graphite webapp on the main page.
8081
If you encounter problems, you can increase the verbosity of error output
81-
by adding a "DEBUG = True" line to /usr/local/graphite/web/local_settings.py
82+
by adding a "DEBUG = True" line to /usr/local/graphite/webapp/web/local_settings.py
8283

8384
Also remember that the apache logs for the graphite webapp are in
8485
/usr/local/graphite/storage/logs/

lib/setup.py

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
#!/usr/bin/python
2-
3-
import sys
4-
5-
# Simple python version test
6-
major,minor = sys.version_info[:2]
7-
py_version = sys.version.split()[0]
8-
if major != 2 or minor < 4:
9-
die( "You are using python %s, but version 2.4 or greater is required" % py_version )
1+
#!/usr/bin/env python
102

3+
#TODO distutils installation

0 commit comments

Comments
 (0)