From d57351d192b5d058f74895925a553e18fd586b73 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Sun, 19 Dec 2021 01:13:19 -0500 Subject: [PATCH] Fixed install docs --- INSTALL | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/INSTALL b/INSTALL index 6856150..80781f1 100644 --- a/INSTALL +++ b/INSTALL @@ -20,13 +20,13 @@ server's setup procedure where necessary. Change to the directory where you're going to run the website from and extract the pages. The tarball contains the phpgiftreg/ directory itself. -user@host $ tar -xvzf phpgiftreg-x.x.x.tar.gz +user@host $ https://git.obscuritus.ca:3000/silverwizard/phpgiftreg.git Then give everything the proper permissions (thanks to Paul Hubbard for pointing this out). An example would be owner-writable, world-readable: -user@host $ cd phpgiftreg-x.x.x +user@host $ cd phpgiftreg user@host $ chmod 644 *.php *.css images/* As of 1.6.0, there is a subdirectory called item_images/ that must be @@ -57,8 +57,8 @@ mysql> Once inside, create the phpgiftreg database: -mysql> create database phpgiftreg; -Database phpgiftreg created. +mysql> create database wishlist; +Database wishlist created. ============================================================================= @@ -86,12 +86,12 @@ mysql> ============================================================================= -4. Create MySQL user (optional) +4. Create MySQL user optional You should have a separate user for the database. If you choose to, create the new user like so: -mysql> GRANT ALL ON phpgiftreg.* TO username@host IDENTIFIED BY 'password'; +mysql> GRANT ALL ON wishlist.* TO username@host IDENTIFIED BY 'password'; mysql> FLUSH PRIVILEGES; This creates a user called `username' that can connect from `host'. @@ -100,6 +100,8 @@ This creates a user called `username' that can connect from `host'. 5. Configure includes/config.php +Copy the includes/config-sample.php to includes/config.php. + You MUST edit includes/config.php to define your database connection. It is required to set the `pdo_connection_string', `pdo_username' and `pdo_password' settings. See @@ -139,8 +141,13 @@ family. If everything goes well, you'll be ready to begin! ============================================================================= If you have any problems with these instructions, or if they weren't clear -or just didn't plain work, please let me know at generalpf@gmail.com. +or just didn't plain work, please let me know at silverwizard@obscuritus.ca. +Original Author: Ryan Walberg generalpf@gmail.com @GeneralPF + +Modified By: +Silverwizard +silverwizard@obscuritus.ca