diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -3,11 +3,10 @@ 1.1 Pre-requirements * HTTP server with mod_rewrite support - * PHP >= 5.4 - * HTTP stream context and remote file_get_contents (`allow_url_fopen=1`) - execution enabled - * PECL HTTP v2 (`pecl install pecl_http`) - * QueryPath library (developed and tested with v2.1.2) + * Apache mod_python + * Python 2.x (tested on 2.7) + * BeautifulSoup4 + * Python modules: hashlib, json, os, re, time, urllib, urllib2, urlparse 1.2 Installation @@ -17,13 +16,13 @@ 1.3 Configuration -Main application file, http/index.php defines some configuration parameters: +Main application file, http/index.py defines some configuration parameters: * BASE_PATH: absolute path for the application within host/domain (change if you're planning on running the app from a subfolder) * CACHE_PATH: path to the cache data folder (must be writable by web-server), - relative to http/index.php + relative to http/index.py * CEZAR_URL: remote URL for fetched site (main page) - * QUERYPATH_PATH: path to the QueryPath.php file from QueryPath library + * CACHE_EXPIRY_LIMIT: oldest cache timestamp to not be refreshed from remote 2. Usage |