summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <c1pher@gentoo.org>2012-07-18 11:11:23 -0400
committerDane Smith <c1pher@gentoo.org>2012-07-18 11:11:23 -0400
commit4add08f208614013cec22ff95172752d8511730a (patch)
tree7f2ec7ede43bcf7eaad37badb02b493800598f95 /www-apps/indefero/files/postinstall-en.txt
parentFix deps. Add new version for testing. (diff)
downloadc1pher-4add08f208614013cec22ff95172752d8511730a.tar.gz
c1pher-4add08f208614013cec22ff95172752d8511730a.tar.bz2
c1pher-4add08f208614013cec22ff95172752d8511730a.zip
Rename postinst.
Diffstat (limited to 'www-apps/indefero/files/postinstall-en.txt')
-rw-r--r--www-apps/indefero/files/postinstall-en.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/www-apps/indefero/files/postinstall-en.txt b/www-apps/indefero/files/postinstall-en.txt
new file mode 100644
index 0000000..12b1b79
--- /dev/null
+++ b/www-apps/indefero/files/postinstall-en.txt
@@ -0,0 +1,29 @@
+Setting up Indefero
+===================
+
+1) First, using your database of choice, set up a database, username, and
+passord for Indefero.
+
+ie: If using mysql:
+ 1) mysql -u root -h localhost -p
+ 2) create user '<username for indefero>'@'localhost' identified by
+ '<password for indefero>';
+ 3) create database <database for indefero>;
+ 4) grant all on <database for indefero>.* to '<username for
+ indefero>'@'localhost';
+
+2) Depending on where Indefero was installed to (if no USE="vhost" it will be
+under /var/www/localhost/htdocs), edit the file <path to
+indefero>/src/IDF/conf/idf.php . Make sure to use the values for the database
+that you used in step 1.
+
+3) To actually create the needed tables for indefero, cd <path to
+indefero>/src and run dbsetup.sh.
+
+4) Lastly, edit <path to indefero>/bootstrap.php. Change the places where
+it says <PATH TO INDEFERO> to point to the install you're using. Then update
+it to use a username / password of your choice. Then run php <path to indefero>/bootstrap.php.
+When this is done and you see the success, rm <path to
+indefero>/bootstrap.php.
+
+