Skip to content
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.
/ The-Harvest-Club Public archive

🍊A student-designed Contact Management System for connecting volunteers and growers

Notifications You must be signed in to change notification settings

styfle/The-Harvest-Club

Repository files navigation

The Harvest Club

This is a contact management system designed for The Harvest Club by a group of students in IN4MATX 117 at UC, Irvine. We have permission to open source our code, but we do not offer support so use at your own risk.

Config

You will need to create a file called include/config.inc.php and define some constants in there. Here is an example:

<?php
define('PAGE_TITLE', 'The Harvest Club');
define('PAGE_QUOTE', 'Share the Bounty');

define('MYSQL_SERVER', 'localhost');
define('MYSQL_USER', 'nyan');
define('MYSQL_PASS', 'd4x9S0Pyo');
define('MYSQL_DB', 'harvest');

define('MAIL_FROM', '[email protected]');
define('MAIL_TO', '[email protected]');
define('MAIL_REPLYTO', '[email protected]');

define('SESSION_MAX_LENGTH', 3600); // logout after inactive for x seconds
?>

Issues

Look at issues to find out what you need to work on

Getting started with git

git clone [email protected]:styfle/The-Harvest-Club.git
git add some-file.php
git commit -m "Added some-file.php that is used for something."
git push origin master

This will clone the repo. Then you add your file to the repo. Commit changes. Then you can push all your changes to github (origin) from your master branch.