Awesome web-service for (soccer) football stats, (safe) betting with your
friends and such.
This was a project for the course Programming Project Databases at the University of Antwerp. As this was a group project, the following developers have built the basics of CoachCenter:
This project uses Laravel PHP Framework.
non-logged users
logged-in users
Of course, there's more!
First, you'll need to load some data in the database:
coachcenter
install/install.sh
(Only if you're on linux, also run from inside the install folder, read install/readme.txt
first)sql/coachcenter.sql
file into this database.Then you can deploy the site locally using artisan
:
$ php artisan serve
Now, a local version of the CoachCenter is running in your localhost (usually
http://localhost:8000
).
First, you'll need to load some data in the database:
coachcenter
sql/coachcenter.sql
file into this database.Second, you should update the system to connect to the database:
Now let's start the server:
$ php artisan serve
Now you have a running coachcenter server! There are also some commands which can be run using artisan:
$ php artisan remindUsers %
reminds users to bet for matches they haven't bet on yet(replace % by the amount of days coachcenter should look for future matches)
$ php artisan updateDB
get new information about matches from our sources and update the bet scores of users
This only works for PHP >= 5.5.x
These commands will run automatically through cron jobs if you use the automatic installation. If the cron jobs don't work for some reason, you will have to update manually by running php artisan updateDB while in the project root.