@@ -4,8 +4,6 @@ Codespeed uses the Web framework [Django](http://djangoproject.com/). To get a
44Codespeed instance running you need to set up a Django Project. This directory
55is just such a project for your reference and a jump start to create your own.
66
7- This file is written in Markdown.
8-
97## For the impatient
108
119Warning: It is recommended to use [ virtualenv] ( http://pypi.python.org/pypi/virtualenv ) to avoid installing
@@ -15,35 +13,33 @@ environments.
1513
1614### Testing with the built-in Development Server
1715That will give you * just* the Django development server version. Please
18- refer to * Installing for Production* for serious installations. You have been warned!
16+ refer to * Installing for Production* for serious installations.
1917
2018It is assumed you are in the root directory of the Codespeed software.
2119
22201 . Install the Python pip module
2321 ` which pip >/dev/null || easy_install pip `
2422 (You might be required to use sudo)
25- 2 . You * must* copy the example directory to your project. (Prevents updates on
23+ 2 . You * must* copy the ` sample_project ` directory to your project. (Prevents updates on
2624 git tracked files in the future.) Let's call it speedcenter
27- ` cp -r example speedcenter `
28- 3 . Enter that directory
29- ` cd speedcenter `
30- 4 . Install Django, Codespeed and other dependencies using pip
31- ` pip install -r requirements.txt `
32- (You might be required to use sudo)
33- 5 . Add codespeed to your Python path
25+ ` cp -r sample_project speedcenter `
26+ 3a. (When configuring your own project) ` pip install codespeeed `
27+ 3b. (For Codespeed development) Install Django and other dependencies using pip
28+ ` pip install -r requirements.txt ` . This will not install codespeed itself, as we want runserver to only "see" the local codespeed copy
29+ 4 . Add codespeed to your Python path
3430 Either
3531 ` export PYTHONPATH=../:$PYTHONPATH `
3632 or
37- ` ln -s .. /codespeed . `
38- 6 . Initialise the Django Database
33+ ` ln -s ./codespeed ./sample_project `
34+ 5 . Initialise the Django Database
3935 ` python manage.py syncdb `
4036 (Yes, add a superuser.)
4137 ` python manage.py migrate `
4238 Optionally, you may want to load the fixture data for a try
4339 ` python manage.py loaddata ../codespeed/fixtures/testdata.json `
44- 7 . Finally, start the Django development server.
40+ 6 . Finally, start the Django development server.
4541 ` python manage.py runserver `
46- 8 . Enjoy.
42+ 7 . Enjoy.
4743 ` python -m webbrowser -n http://localhost:8000 `
4844
4945## Installing for production
@@ -133,12 +129,4 @@ Please, also refer to the [Django URL dispatcher docu]
133129
134130### Codespeed settings
135131The main config file is ` settings.py ` . There you configure everything related
136- to your set up. It FIXME (a8) to be continued...
137-
138- FIXME (a8 < fb@alien8.de > 2011-04-29): Write more ...
139-
140- * Point to Django docu for DB, template engine, ...
141- * Point to codespeed config in settings.py
142- * Point to wsgi config for Apache ...
143- * Write up "Installing for production" section
144- ...
132+ to your set up.
0 commit comments