Team:
Arvydas Apulskis IFF-7/13
Marius Žilgužis IFF-7/8
Modestas Gužauskas IFF - 7/8
Valdas Gudelevičius IFF-7/8
To get started:
- git clone https://github.com/ArvApu/Semestro-projektas-DD.git
git pull
if already cloned
- cd Semestro-projektas-DD
- composer install
- composer require annotations
- git checkout development
- create your branch
git branch (your name)-features
- if you have branch check if it is not behind development if it is:
git pull origin development
- create your branch
- php bin/console server:run
Note: php and composer should be instaled. If using phpStorm enable Symfony plugin for project.
Extras:
Debugging tool:
$ php bin/console
Generate route, controller and view:
$ php bin/console make:controller NameController
Preview all routes :
$ php bin/console debug:router
Test route matches:
$ php bin/console router:match path
Make enityt (model):
$ php bin/console make:entity EntityName
Generate migration
$ php bin/console make:migration
GRUD (Create, Read, Update, Delete):
$ php bin/console make:crud ExistingEntity
Setup database connection:
DATABASE_URL=mysql://db_user:[email protected]:3306/db_name
More info at: Symfony documentation