Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/realmrv/wm-yii-task

Yii2 test task
https://github.com/realmrv/wm-yii-task

php yii2

Last synced: 23 days ago
JSON representation

Yii2 test task

Awesome Lists containing this project

README

        

# Yii2 test task

## Specification

You can read the specification [here](/specification.ru.md).

## Requirements

- Docker
- Docker Compose

## Installation

### Auto

1. `chmod 775 deploy.sh`
2. `./deploy.sh`

### Manual

Yii2 docs [link](https://github.com/yiisoft/yii2-app-advanced/blob/master/docs/guide/start-installation.md#installing-using-docker) for detail.

1. `docker compose run --rm backend composer install`
2. `docker compose run --rm backend php /app/init`
3. `docker compose up -d`
4. `docker compose run --rm backend yii migrate`

Access it in your browser by opening:

- frontend: http://127.0.0.1:20080
- backend: http://127.0.0.1:21080/random-image-decision?permanent-token=xyz123