adnanahmady / football-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Football Application

This application is a personal project that is using symfony framework.

Index

Requirements

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.

Platforms

Linux

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

Windows

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

Preparation

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.

Run Application

for running application you need to execute up method using make command like bellow:

make up

Test

you can run all system tests using test command like bellow.

make test

Diagrams

The database design for the project.

Database diagram

About


Languages

Language:PHP 92.8%Language:Twig 5.7%Language:Makefile 0.8%Language:Dockerfile 0.7%