Skip to content

rawbinson/membersystem

 
 

Repository files navigation

membersystem

KBHFF member system

Installation

Clone the repo

git clone git@github.com:kbhff/membersystem.git

Create and import database

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

Copy config file sample (and edit as needed)

Don't edit the sample file directly!

cp global_config.sample.php global_config.php

Install phpmailer

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

Git Workflow

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:

  1. The master branch is "sacred", ie it should never be committed to, pushed to or have a local version.
  2. All new work is done on branches
  3. 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

About

KBHFF member system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 61.1%
  • JavaScript 34.9%
  • CSS 3.7%
  • Other 0.3%