(→Installation) |
(→Script Configuration) |
||
Line 63: | Line 63: | ||
=== Script Configuration === | === Script Configuration === | ||
#Run the script to edit the path information for all the Perl scripts used. Start a command-line window, and navigate to '''\thegpm\scripts\''' directory. Run the script '''local_gpm_pathmod.pl''' by typing <tt>perl local_gpm_pathmod.pl <base_path>/thegpm/</tt> where <base_path> is the path to where the gpm-software.zip archive was extracted. Ensure you use front slashes (/) instead of back slashes (\) when typing the path. This will edit scripts in both '''\thegpm\scripts\''' and '''\thegpm\thegpm-cgi\'''. | #Run the script to edit the path information for all the Perl scripts used. Start a command-line window, and navigate to '''\thegpm\scripts\''' directory. Run the script '''local_gpm_pathmod.pl''' by typing <tt>perl local_gpm_pathmod.pl <base_path>/thegpm/</tt> where <base_path> is the path to where the gpm-software.zip archive was extracted. Ensure you use front slashes (/) instead of back slashes (\) when typing the path. This will edit scripts in both '''\thegpm\scripts\''' and '''\thegpm\thegpm-cgi\'''. | ||
- | |||
- | |||
#Edit the '''\thegpm\thegpm-cgi\dbcommon.pl''' file. In the functions GetUser() and GetPass() define a username and password for the read-only database user (default values are readuser/readpass). In the functions GetRUser() and GetRPass(), do the same for the read/write user (default values are writeuser/writepass). ''Do not skip this step''; the integrity of the database depends on it. Also, it is NOT recommended to use the root username and password you defined during MySQL setup in the '''dbcommon.pl''' file. | #Edit the '''\thegpm\thegpm-cgi\dbcommon.pl''' file. In the functions GetUser() and GetPass() define a username and password for the read-only database user (default values are readuser/readpass). In the functions GetRUser() and GetRPass(), do the same for the read/write user (default values are writeuser/writepass). ''Do not skip this step''; the integrity of the database depends on it. Also, it is NOT recommended to use the root username and password you defined during MySQL setup in the '''dbcommon.pl''' file. | ||
#Edit the '''\thegpm\thegpm-cgi\defines.pl''' file. | #Edit the '''\thegpm\thegpm-cgi\defines.pl''' file. |
Contents |