You must do these steps:
All guides used these example directory structure:
| /home/FooBar/ | example home directory |
| /home/FooBar/scripts/ | PyLucid scripts |
| /home/FooBar/PyLucid_env/ | virtual environment |
| /var/www/YourSite/ | htdocs respectively DocumentRoot |
| /var/www/YourSite/media/ | static files root directory |
| /var/www/YourSite/media/PyLucid/ | PyLucid media files, from: pylucid_project/media/PyLucid/ |
| /var/www/YourSite/media/django/ | Django admin media files, from: django/contrib/admin/media |
We install PyLucid in home directory /home/FooBar/ and create a fastCGI page instance in /var/www/YourSite/ (The docu used these two example path.)
These files must be created/copied/edited:
| /var/www/YourSite/local_settings.py | must be created, see: example local_settings.py |
| /var/www/YourSite/manage.py | copy from scripts/manage.py, ROOT_DIR must be adjusted |
| /var/www/YourSite/index.fcgi | copy from scripts/apache_files/index.fcgi, VIRTUALENV_FILE must be adjusted |
| /var/www/YourSite/.htaccess | copy&rename from scripts/apache_files/default.htaccess |
Note:
django-processinfo: 5.9 ms of 303.5 ms (1.9%)