7 месяцев назад
История
README.md
Yii2 Project Template
Структура каталогов
config/
database/
migrations/
seeders/
docker/ Nginx, Php конфигурации & Docekrfile
mail/ e-mail views
public/ index.php
runtime/
src/
Command/ console commands
Component/
Controller/
Model/
<model-name>/
forms/
search/
vendor/
Требования
PHP 8.2
Инсталляция и запуск
git clone https://gitflic.ru/project/vortexv/hack-i5lrh.git
composer install
composer du
cp .env.example .env
sudo docker compose up -d
sudo docker compose exec -it app ./yii migrate
Конфигурация
Database
Edit the file config/db.php
with real data, for example:
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2basic',
'username' => 'root',
'password' => '1234',
'charset' => 'utf8',
];
Конвейеры
0 успешных
0 с ошибкой