KBHFF member system
git clone git@github.com:kbhff/membersystem.git
This will load the following test data: Two departments, one administrator, one member.
Admin account is: Memberno: 1, password: 1234
Please note: tables are dropped before create/insert. Do not use with production data!
echo "create database membersystem" | mysql -u root -p
mysql -u root -p membersystem < kbhff.sql
Don't edit the sample file directly!
cp global_config.sample.php global_config.php
apt-get install libphp-phpmailer
# You may need to:
# ln -s /usr/share/php/libphp-phpmailer/class.phpmailer.php /usr/share/php/class.phpmailer.php
Install PHPExcel (https://phpexcel.codeplex.com/)
If you're new to git, Code School has a nice free (and fun) introduction to get started with.
The workflow is based on these rules:
- The master branch is "sacred", ie it should never be committed to, pushed to or have a local version.
- All new work is done on branches
- Branches are merged into master via peer-reviewed pull requests on GitHub
The basic workflow commands are:
git fetch
git checkout origin/master # move to origin master branch, this is the newest version
git checkout -b my_new_feature # create and move to new local branch named "my_new_feature"
git commit, git commit, git commit... # Work and do as many commits as you want
git push origin my_new_feature # push finished branch to GitHub
open https://github.com/kbhff/membersystem # Go to GitHub and create a pull request