ECE 440 Final Project - Rollcall
*Must have MySQL and airport install on machine.
How to compile:
- Download all the files and put them in one location.
- In a terminal, change directory to where you saved the files.
- Type "make" without the quotes. This will compile the rollcall and submit files. This should work if you're on a Mac. Some configuration of the libraries to include may be needed. They are declared at the top of the makefile.
How to run: ./rollcall requires sudo privileges and takes a command line argument. Typying ./rollcall -h will display the different options. A sample command to run rollcall is "sudo ./rollcall -f". To run the submit program, simply type ./submit.
The database variables may need to be configured. The variables are located in rollcall.h
Basic GitHub Commands:
-
git clone "path to project location"
-
git config user.email [email protected] -Always do this after cloning
-
git config user.name "Your name" -Always do this after cloning
-
git add "file you're adding" -Must add before you commit
-
git commit –m "Descriptive commit message" -Saves changes to local
-
git fetch -Makes local aware of changes on the server
-
git push -Saves changes to cloud *Use "-u" flag for tracking and then "origin" and "master"
*) git pull -Pulls the most updated file from the server and merges them *This can cause merge conflicts which must be resolved manually
*Always pull before you push