summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-12-06 22:44:32 +0100
committerFlorian Pritz <bluewind@xinu.at>2012-12-06 22:44:32 +0100
commit5659e23cd8c928bd26dff16b13b0eebf89688bef (patch)
treed54f68ef9c9dce893cec5a1061732a39a3edd058
parent5e485efe53d443d4674ff47302100ce204fbea05 (diff)
Extend INSTALL file
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--INSTALL23
1 files changed, 22 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index d3840e6b0..90c6bdf9a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,7 +1,28 @@
+# Configuration
+
* run install.php to make sure all dependencies are installed
+ - if you are only creating a basic development installation you will only need:
+ perl, File::MimeInfo::Magic
+ pygmentize (part of pygments)
+ PHP Memache extension
+
* Copy all files from ./application/config/example to ./application/config
* Change them to fit your needs
-* The necessary database tables are created automatically when accessing your pastebin
+ - don't change config.php, use config-local.php to override it when needed
+
+* The necessary database tables are created/updated automatically when accessing your pastebin
+
* Copy htaccess.txt to .htaccess if you want shorter URLs
(also change the config setting)
+
* Add ./crontab or something similar to the user's crontab
+
+
+# Generate the first user
+
+* Go to base_url/user/hash_password to generate a password hash
+
+* Run the following SQL command
+ insert into users
+ (username, password, email, referrer)
+ values ("your_name", "hash_from_above", "you@foo.com", 0)