Webe Gigimodel Sets 4047 Install File
cd /var/www/webe-app/ wget https://your-repository.com/sets/webe-giimodel-sets-4047.tar.gz tar -xzvf webe-giimodel-sets-4047.tar.gz After extraction, you should see a folder named sets_4047/ containing subdirectories: templates/ , runtime_sets/ , and sql/ . The "Sets" part of the name implies a predefined database structure. Navigate to the SQL directory and import the base schema.
mysql -u your_db_user -p your_database_name < sets_4047/sql/base_schema_4047.sql Warning: This schema typically creates 15-20 core tables (e.g., webe_set_registry , gii_template_4047 , dynamic_relation_map ). Do not run this on a database with existing tables unless you have reviewed the foreign key constraints. Unlike standard Gii, the WeBe version uses a registry for configuration sets. You must register "4047" in the main configuration file ( config/web.php or config/webe.php ). webe gigimodel sets 4047 install
For further assistance, consult the README_4047.md file included in your extracted bundle, or check the vendor repository for patch notes regarding PHP 8.x compatibility. cd /var/www/webe-app/ wget https://your-repository
'modules' => [ 'gii' => [ 'class' => 'yii\gii\Module', 'allowedIPs' => ['127.0.0.1', '::1', '192.168.0.*'], 'generators' => [ 'webeModel' => [ 'class' => 'app\vendor\webe\generators\model\Generator', 'templates' => [ 'sets_4047' => '@app/sets_4047/templates/model/default', ] ], 'webeCrud' => [ 'class' => 'app\vendor\webe\generators\crud\Generator', 'templates' => [ 'sets_4047_crud' => '@app/sets_4047/templates/crud/default', ] ] ], ], ], The unique feature of Sets 4047 is its "runtime dynamic relations." Copy the runtime set files into your models directory. You must register "4047" in the main configuration