This package is designed to populate database tables with fake SMF and Light Portal data.
-
Extract the package files into any directory.
-
Get the API on the website https://www.pexels.com/api/api-key/ (for generating random images).
-
Configure the database connection parameters in the
.envfile (see the example in.env.example). -
Specify
PEXELS_API_KEYthere. -
Select what to generate in the
database/seeders/DatabaseSeeder.phpfile. -
Run the following commands in the console:
composer installphp artisan migrate:fresh --seed -
Create snapshots for specific tables or for the entire database:
php artisan snapshot:create --table=smf_boardsphp artisan snapshot:create -
After that, you can import the required data into your real forum database.