diff options
author | emkael <emkael@tlen.pl> | 2015-02-09 20:20:41 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2015-02-09 20:20:41 +0100 |
commit | 3c2b35191d08c5da8fcddee8a73874b3126fd58b (patch) | |
tree | e8156af04af30c6b6aab95d10e186915cdb6e7f4 /README | |
parent | 17167b1c0e088000164b87ef0a02237a3ffc107c (diff) |
* README update
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 |