summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2015-02-09 20:20:41 +0100
committeremkael <emkael@tlen.pl>2015-02-09 20:20:41 +0100
commit3c2b35191d08c5da8fcddee8a73874b3126fd58b (patch)
treee8156af04af30c6b6aab95d10e186915cdb6e7f4
parent17167b1c0e088000164b87ef0a02237a3ffc107c (diff)
* README update
-rw-r--r--README15
1 files changed, 7 insertions, 8 deletions
diff --git a/README b/README
index 4ea84ed..5667a7a 100644
--- a/README
+++ b/README
@@ -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