Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update the doc of makefile target with lint_perltidy #8883

Merged
merged 8 commits into from
Aug 30, 2023
6 changes: 6 additions & 0 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,10 @@ See also [targets to run tests](../docs/dev/how-to-write-and-run-tests.md#runnin
| `make clean` | Clean up your dev environment: removes locally bound folders, run `hdown` and `prune`. | Run `make dev` to recreate a fresh dev env afterwards. |
| `make import_sample_data` | Load sample data (~100 products) into the MongoDB database. | |
| `make import_prod_data` | Load latest prod data (~2M products, 1.7GB) into the MongoDB database. | Takes up to 10m. Not recommended for dev setups ! |
| `make lint` | Indent and reformat your code |

PS : If you are having permission issues with `make lint` try writing the following commands :
alexgarel marked this conversation as resolved.
Show resolved Hide resolved
`export MSYS_NO_PATHCONV=1
docker-compose run --rm --no-deps -u root backend chown www-data:www-data -R /opt/product-opener/`
then run again `make lint` and you should be good to go

Loading