test project
docker is very recommended to checkout this project
- Clone or download;
- Install project dependencies by:
composer install
- Go to docker-enviroment directory;
- At
.env
file edit parameter{DOCKER_HOST_IP}
to your Docker host IP; - To build containers, execute:
docker-compose build
; - To run docker containers execute:
docker-compose up -d
; - In config.php change
basePath
tohttp://{DOCKER_HOST_IP}/api/v1/products
- Also change mysql server ip to
{DOCKER_HOST_IP}
- Open browser and go to
http://{DOCKER_HOST_IP}/api/v1/products