Name | Modified | Size | Downloads / Week |
---|---|---|---|
README.md | 2021-06-10 | 1.9 kB | |
jworldcup-0.5.14-20210610.tar.gz | 2021-06-10 | 920.7 kB | |
jworldcup-0.5.8-20190128.tar.gz | 2019-02-12 | 737.7 kB | |
jworldcup-0.0.1-20180714.tar.gz | 2018-09-11 | 567.8 kB | |
Totals: 4 Items | 2.2 MB | 0 |
jworldcup-tutorial
JWorldcup soccer bet game application. In the beginning it was a tutorial project, bun later the turorial part was dropped.
Project database
Data persisted to mysql database in the project. There is a remote database for production and local databases for the developers. Additonal info about the developer databases is described at the docker images header.
Docker images
There are more docker images in the project which must be started by developers before launching the IDE. At least it is a must for the test phase in the build process, or for just running the application. All of them are located in the docker folder. One of them contains development databases, 2 mysql databases, for unit and integration tests. The other image contains a phpmyadmin application, an excellent tool to manage mysql databases. The latter one is also served to create database export file for the application tests, it is always loaded automatically in the beginning of the unit test phase. The last image contains a Tomcat 8.5 server, to where the build jworldcup.war can be deployed.
This is how to start the images from command prompt. It should be executed from the docker folder.
$ docker-compose up
It is recommended to shutdown the running images if the work is over. It should be executed from the docker folder.
$ docker-compose down
If you have to update docker mysql images in docker/mysql folder, the docker images must be rebuilt again. It should be executed from the docker folder.
$ docker-compose build
If the containers are being run, you may need the following infos to use them:
- phpMyAdmin link: http://localhost:8080 (user / password: worldcup / worldcup.org)
- Tomcat manager link (where app can be deployed): http://localhost:8090/manager (user / password: admin / osboxes.org)