Skip to content

Commit

Permalink
docs: update the doc of makefile target with lint_perltidy (#8883)
Browse files Browse the repository at this point in the history

Co-authored-by: Alex Garel <alex@garel.org>
  • Loading branch information
albatrousse and alexgarel committed Aug 30, 2023
1 parent 8ce0abc commit c4d0a00
Showing 1 changed file with 6 additions and 0 deletions.
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[^lint] |

[^lint]: If you are having permission issues with `make lint` try writing the following commands :
`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

0 comments on commit c4d0a00

Please sign in to comment.