summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL26
1 files changed, 26 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 000000000..f63ee8e74
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,26 @@
+# Configuration
+
+* run install.php to make sure all dependencies are installed
+ - if you are only creating a basic development installation you will only need:
+ pygmentize (part of pygments)
+
+* Copy all files from ./application/config/example to ./application/config
+* Change them to fit your needs
+ - 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 set "$config['index_page'] = '';" in config-local.php)
+
+* Add ./crontab or something similar to the user's crontab
+
+* Copy ./data/local/examples/contact-info.php to ./data/local/ and edit it
+
+# Generate the first user
+
+* Go to http://yourdomain.com/some/where/index.php/user/hash_password to generate a password hash
+
+* Run the following SQL command in your database:
+ insert into users (username, password, email, referrer)
+ values ("your_name", "hash_from_above", "you@foo.com", NULL);