This application is a personal project that is using symfony framework.
- Requirements
- Platforms
- Prepare the application
- Run the application
- Test the system functionality
- Diagrams
You need docker
and docker-compose
in order to run this application.
If you don't have make
on your operating system for running the application,
you need to read Makefile
and do as up
method says, otherwise you just need
to follow Running section.
The application is listening to football.test
as the domain address, and if you want to access
the application using this domain, and you're a linux user, you need to run this code.
echo '0.0.0.0 football.test' | sudo tee -a /etc/hosts
For Windows 10 users it's a similar process, you need to add bellow code to the end of hosts
file
in the c:\Windows\System32\Drivers\etc\hosts
path.
Attention: you need to change space between 0.0.0.0
and football.test
to tab character
for windows to work.
0.0.0.0 football.test
If you're running the application for the first time, you may need to run bellow preparation command.
make prepare
This command prepares necessary requirements for the application, such as installing required packages for composer and loading initial data to database.
for running application you need to execute up
method using make
command
like bellow:
make up
you can run all system tests using test
command like bellow.
make test
The database design for the project.