18 lines
698 B
Markdown
18 lines
698 B
Markdown
# banki.shop test
|
|
to start it up, create `docker-compose.yml` and `.env` from their `.template` files and `docker-compose up -d`.
|
|
you can run the `copy.sh` script to do it automatically
|
|
|
|
make sure you set the `DB_PASS` in `.env` to the same as you set in `docker-compose.yml`
|
|
|
|
## compilance
|
|
as per the [original document](./original_doc.docx), the following is implemented:
|
|
|
|
- API for listing params
|
|
- listing params
|
|
- - adding one or two images to a param, deleting an image, replacing the image
|
|
- images:
|
|
- - original file name is saved
|
|
- - everything is stored in one directory, files with the same original name do not conflict
|
|
|
|
## running yii commands inside docker
|
|
`./sh php yii migrate/up` |