Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bodo-hugo-barwich/football-manager_php
Football Manager Game Site in PHP with Symfony and Petite-Vue
https://github.com/bodo-hugo-barwich/football-manager_php
doctrine-orm petite-vue php symfony twig-templates vuejs
Last synced: 11 days ago
JSON representation
Football Manager Game Site in PHP with Symfony and Petite-Vue
- Host: GitHub
- URL: https://github.com/bodo-hugo-barwich/football-manager_php
- Owner: bodo-hugo-barwich
- Created: 2024-04-14T13:16:17.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-17T06:10:10.000Z (6 months ago)
- Last Synced: 2024-05-18T06:46:58.065Z (6 months ago)
- Topics: doctrine-orm, petite-vue, php, symfony, twig-templates, vuejs
- Language: PHP
- Homepage:
- Size: 11.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NAME
Football-Manager
# DESCRIPTION
This is a web development exercise that simulates a football manager game.
This combines fast template generated dynamic web sites powered by the _Symfony_ Engine with on-page
_Petite-Vue_ `JavaScript` AJAX calls.# REQUIREMENTS
To rebuild this web site the **Minimum Requirements** are to have _PHP_, `composer` and `symfony-cli` installed.
The site uses the libraries `Symfony`, `Twig` and `Twig Templates`.
# INSTALLATION
- composer
The `composer` _PHAR_ Script will install the dependencies on local user level as they are found in the `composer.json`.
To run the installation call the `composer` Command within the project directory:composer install
- database
The test database can be set up with the `bin/console` script.
To create and populate the test database with test data run the `bin/console` script in the project directory:APP_ENV=test php bin/console doctrine:database:create
APP_ENV=test php bin/console doctrine:schema:create
APP_ENV=test php bin/console doctrine:fixtures:load
- test web site
The test web site can than be started with the `symfony` command line script.
To start the development web service and visualise the test web site run the `symfony` command line script in
the project directory:APP_ENV=test symfony server:start
- tests
The automatted tests can be run with the `bin/phpunit` script.
To execute the automatted tests run the `bin/phpunit` script in the project directory:
php bin/phpunit
It is recommended to restore the test database before each test run with the `doctrine:fixtures:load` command as
described under _database_ above.# CREDITS
The title used the _Red Seven_ font by Dennis Ludlow