Please visit us at https://derbynet.org.
To quickly get started on local development, the existing Docker image can be used to provide the web server and PHP engine, even if you don't have these installed natively on your machine.
-
Install Apache Ant.
-
You can install WSL and run:
sudo apt-get update sudo apt-get install ant
-
-
Execute
ant generatedfrom the root of the cloned repository. (This build target includes a step to generate PDF files from their ODF source files. This step will be silently skipped if the LibreOffice/OpenOfficesofficeapplication is not available.) -
If desired, do one or both of the following. (If you do neither, you won't be able to connect to a hardware timer.)
- Execute
ant timer-in-browerto build the in-browser timer interface. - Execute
ant timer-jarto build the derby-timer.jar timer interface.
- Execute
-
Instantiate the docker container, but use your local sources rather than those deployed in the container. PATH_TO_YOUR_DATA is a local directory where you'd like databases, photos, and other data files to be stored. PATH_TO_YOUR_REPOSITORY is the path to your local cloned repository.
docker run --detach -p 80:80 -p 443:443 \ --volume [** PATH TO YOUR DATA **]\lib\:/var/lib/derbynet \ --mount type=bind,src=[** PATH TO YOUR REPOSITORY **]\website\,target=/var/www/html,readonly \ jeffpiazza/derbynet_server
