First create a new database in mysql.
Now go to the project and open the file named config.php
it the backend folder and then change the mysql settings.
Constants | Change to your MYSQL settings |
---|---|
HOSTNAME | "MYSQL HOSTNAME" |
DATABASE | "MYSQL DATABASE" |
USERNAME | "MYSQL USERNAME" |
PASSWORD | "MYSQL PASSWORD" |
When you are done the project now will be able to connect to the database and you will be able to start syncing.
To sync the data you just need to execute the file execute.php
in the backend/database
folder.
The default start date is 2020-05-01, you can change that in the execute.php There is data for 191 countries and around 400 records for each day by writing this documentation. That will take around 3-5 minutes to finish syncing.