This project simply downloads all information about Star Wars heroes from SWAPI and saves it to a MySQL database for later convenient access
-
Download project:
$ git clone https://github.com/Heaven31415/swdd.git
-
Change to its directory:
$ cd swdd
-
Create local
.env
file:$ cp .env .env.local
-
Configure the value of
DATABASE_URL
environment variable in.env.local
file so you can connect to your MySQL server -
Run
$ bin/setup
bash script to install project dependencies and setup database
$ bin/console app:download-data