Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/realmrv/wm-yii-task
- Owner: realmrv
- License: bsd-3-clause
- Created: 2023-11-13T19:16:45.000Z (about 1 year ago)
- Default Branch: develop
- Last Pushed: 2023-12-16T15:06:22.000Z (about 1 year ago)
- Last Synced: 2024-11-06T05:44:00.385Z (2 months ago)
- Topics: php, yii2
- Language: PHP
- Homepage:
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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