cebe / yii2-openapi

REST API application generator for Yii2, openapi 3.0 YAML -> Yii2
MIT License
129 stars 23 forks source link

Better local setup #156

Open SOHELAHMED7 opened 11 months ago

SOHELAHMED7 commented 11 months ago

In order to setting up this lib locally for development following CONTRIBUTING.md, I faced error

$ make migrate
docker-compose run --user=5886 --rm php sh -c 'mkdir -p "tests/tmp/app"'
Creating yii2-openapi_php_run ... done
mkdir: cannot create directory 'tests/tmp/app': Permission denied
ERROR: 1

Workaround for this is $ sudo chmod -R 777 tests/tmp/, but it is not the ideal solution.

Find out a way that does not require giving 777 permission to tests/tmp directory.