This is a symfony project which we try to explain symfony on a youtube channel دردشة مبرمجين
- PHP 7.1.3 or higher.
- Composer
-
clone the project to your machine go to the path you want to install the project in then run this command
git clone https://github.com/zayanit/symfonyCars.git
-
create an empty DB
-
copy the file
.env.example
contents and create a new file called.env
-
cd to your project and run
composer install
-
chang this line in
.env
file
DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name
add your DB informations
- run this command
php bin/console server:start
and then you are ready to go