Changes between Version 5 and Version 6 of DjangoAndPyPy
- Timestamp:
- Jul 12, 2008, 4:33:21 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DjangoAndPyPy
v5 v6 15 15 16 16 == Build pypy-c == 17 17 18 Don't try this on a weak machine. It must have at least 1Gb memory and a 5Gb swap space or it will do a lot of swapping. 2Gb is plenty. 18 19 Expect it to take 30-60 minutes … … 24 25 and standard Python libraries bundled with the PyPy source code if a runtime library is not already on the PYTHONPATH. 25 26 27 Now copy or link the pypy-c executable to a place that is on your PATH, such as: 28 {{{ 29 ln pypy-c /opt/local/bin 30 }}} 26 31 27 == Platform prerequisites == 32 You should now be able to run pypy-c from any directory. Try it to make sure it works. 33 It will give you a warning about using compiled-in library path. That is ok. What this means is 34 that it is using path default that may only work on your machine. 35 36 === Platform prerequisites === 28 37 29 38 To compile PyPy you need a couple of developer tools. Essentially, … … 85 94 86 95 == Run Django == 87 88 Make a link to pypy-c in /usr/shared/bin89 96 97 Switch to the Pinax project directory and run the development server 90 98 {{{ 99 pypy-c ./manage.py syncdb 91 100 pypy-c ./manage.py runserver --noreload 92 }} 101 }}} 102 103 Reloading doesn't seem to be working properly at the moment, so you need to disable it.