scoreBoard is a simple tool for displaying the score of any game.
The original scoreBoard has been written in messy PHP.
rc-scoreboard
is a fork of scoreboard which is aiming at providing a fully
comprehensive solution for the RoboCup competition.
The only real dependency is python
(preferably cpython2.7) and pip so that you
can install other dependencies (see requirements.txt).
- You need to create some virtual environment
- Then install all the dependencies by running
$ pip install -r requirements.txt
as superuser - Then, to get all we need
$ python manage.py collectstatic
- Now we shall sync the DB
$ python manage.py syncdb
- Than we need to get migrations into the DB
$ python manage.py migrate soccer
$ python manage.py migrate rescue
- And in case we want to export results to PDF files,
wkhtmltopdf
has to be installed (the actual application, not the python wrapper)
Or just run the dev_setup.sh
script.
- Install Python, PIP and GIT. Make sure the
libevent-dev
is also installed. You can easily installed by runningapt-get install libevent-dev
as root on Debian-like Linux servers. - Clone this repository to a directory of your linking.
- Install all the dependencies by running
$ pip install -r requirements.txt
as superuser - If you want to export results to PDF files, make sure the
wkhtmltopdf
executable is present at the server.
- Set
DEBUG
insettings.py
to False - Start nginx by running
nginx -c ./nginx.conf -p $PWD
in./conf/
- Run
python2 ./manage.py run_gunicorn
Note: This application is still in the alpha version and not meant for actual use. Please contact us if you plan on using it.
You can run the tests by executing
$ ./manage.py test scorebrd
$ ./manage.py test soccer
$ ./manage.py test rescue
$ ./manage.py test rescueB
We really appreciate feedback, so if you have any questions or find any bug please create new issue.
(c) 2012 - 2014, XLC Team, http://xlc-team.info