/hr-task-regru-yii2

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

hr-task-regru-yii2

GitHub tag (latest SemVer) Packagist GitHub code size in bytes GitHub top language

Introduction

Reg.ru yii2 hr task.

Requirements

  • Nginx 1.14.0
  • MySQL 5.7.30
  • Node 10.16.0
  • PHP >= 5.6.0
    • Reflection PHP Extension
    • PCRE PHP Extension
    • SPL PHP Extension
    • Ctype PHP Extension
    • Mbstring PHP Extension
    • OpenSSL PHP Extension
    • Intl PHP Extension
    • Fileinfo PHP Extension
    • DOM PHP Extension

Run for check server:

php requirements.php

Installation

Docker

Git clone

git clone git@github.com:superrosko/hr-task-regru-yii2.git .

Run initialization

make initial

Usage

Docker

Restart docker compose:

make compose_restart

Generating ssl certificates:

make ssl_gen

Install dependencies:

make deps_install

Update dependencies:

make deps_update

App configuration:

make app_config

Create new database user if not exists:

make db_create_user

Execute mysql cli:

make db_exec

Apply migrations:

make db_migration

App php exec:

make php_exec COMMAND="artisan"

App bash exec:

make bash_exec

App initialization:

make initial

Credits

License

The BSD 3-Clause. Please see License File for more information.