411 REFERENCE · Wikibooks
Open source software on Lets, Time Banks and Food Donation/Food donation Install
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Installation on your PC
To install ChurchCRM on your PC, proceed as follows:
1) Download XAMPP from here: and install it for example in the Documents folder, while on Ubuntu it will be installed in the /opt folder
2) Start XAMPP on Windows by clicking on xampp-control in its installation folder and pressing the Start buttons for Apache and MySql, while on Ubuntu type in the terminal:
sudo /opt/lampp/lampp start
3) Download the Food Donation from here and unzip the file in the XAMPP htdocs folder
4) Connect with phpmyadmin by typing http://localhost/phpmyadmin in the browser, create a new MySQL database after selecting New and import the database/demo.sql file
5) Edit the files connection.php, fooddonateform.php, admin/analytics.php, admin/donate.php, admin/feedback.php, admin/admin.php by inserting the MySql database data in the lines :
$connection = mysqli_connect("localhost", "root", "");
$db = mysqli_select_db($connection, 'db_name');<br>
6) Modify the files fooddonateform.php, admin/login.php, admin/donate.php, admin/signup.php, fooddonateform.php, delivery/deliverysignup.php by inserting the neighborhoods of the city where the app works:
<select id="district" name="district" style="padding:10px;">
<option value="courts">Courts</option>
<option value="palazzo_reale">Royal Palace</option>
<option value="oreto_stazione" selected>Oreto Stazione</option>
<option value="santa_rosalia">Santa Rosalia</option>
<option value="calatafimi">Calatafimi</option>
<option value="zisa">Zisa</option>
<option value="walnut">Walnut</option>
<option value="malaspina">Malaspina</option>
<option value="liberta">Freedom</option>
<option value="politeama">Politeama</option>
<option value="settecannoli">Settecannoli</option>
<option value="Brancaccio">Brancaccio</option>
<option value="falsomiele">Falsomiele</option>
<option value="mezzomonreale">Mezzomonreale</option>
<option value="altarello">Altarello</option>
<option value="boccadifalco">Boccadifalco</option>
<option value="hearer">Hearer</option>
<option value="borgonuovo">Borgonuovo</option>
<option value="cruillas">Cruillas</option>
<option value="san_lorenzo">San Lorenzo</option>
<option value="tommaso_natale">Tommaso Natale</option>
<option value="partanna">Partanna</option>
<option value="pallavicino">Pallavicino</option>
<option value="montepellegrino">Montepellegrino</option>
<option value="arenella">Arenella</option>
</select>
7) Start Food donation by typing http://localhost/food_donation in your browser.
Online installation
Wanting to install Food donation on Php,MySQl hosting after creating an account on it. Edit the connection.php, fooddonateform.php, admin/analytics.php, admin/donate.php, admin/feedback.php, admin/admin.php files in the food_donation folder as above and use the FileZilla program to upload the folder food_donation to the server . Create the demo database via phpmyadmin and import the database/demo.sql file. Request the https service from hosting. Start Food donation by typing https://www.my_hosting.org/food_donation/ in your browser.