From 6886df5e4a11ae159186ea31d54c4d944843aa43 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Fri, 16 Sep 2022 13:29:09 +1000 Subject: minor changes to readme - mail configs are credential files - wget should overwrite the existing files --- README.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.txt b/README.txt index 963f22f..e23b828 100644 --- a/README.txt +++ b/README.txt @@ -127,7 +127,7 @@ You will be able to login to the website using the 'admin' user and change the w == Account issues == -If you want that the system can send e-mails you have to specify the name of the SMTP server that has to be used. Open the file Application/Include/params.php and set the following static attributes of the Website class: +If you want that the system can send e-mails you have to specify the name of the SMTP server that has to be used. Copy the file Application/Include/params.php.sample to Application/Include/params.php and set the following static attributes of the Website class: $mailServer = ""; // set the mail server (if $useSMTP = true) $generalMail = ""; // set the username of your mail account (always needed) @@ -144,6 +144,7 @@ You can also set these constants: $generalName = ""; // the string that you want to use inside the tag of your website $projectName = ""; // the name of your project +To configure for the admin app, do the same for admin/Application/Include/params.php.sample. == Configure the HTML template (right column, top notices, top menu, etc.) == @@ -191,8 +192,8 @@ Change into the scripts/vendorid/ directory. Open the file 'connect.php' and set You will find two files containing the list of vendors: pci.ids and usb.ids. If you want more up-to-date versions of those files then delete them and write the following commands (or download those files from the URLs indicated below): - wget pciids.sourceforge.net/v2.2/pci.ids - wget http://www.linux-usb.org/usb.ids + wget pciids.sourceforge.net/v2.2/pci.ids -O pci.ids + wget http://www.linux-usb.org/usb.ids -O usb.ids Be sure you have installed php-cli, then write the following command: @@ -200,7 +201,6 @@ Be sure you have installed php-cli, then write the following command: It will fill the 'vendors' MySql table. - <!-- NOTE: this file is legal mediawiki syntax --> <!-- LICENSE -- cgit v1.2.3