Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Improve setup for local development (#17353)
Jonatan Witoszek4d0ab24fe14b
diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.ymlindex 89e3c4464c..e338f0dd00 100644--- a/.devcontainer/docker-compose.yml+++ b/.devcontainer/docker-compose.yml@@ -38,12 +38,14 @@ services:restart: unless-stoppedvolumes:- saleor-redis:/data+ ports:+ - 6379:6379mailpit:image: axllent/mailpitports:- - "1025" # SMTP Server- - "8025" # Mailpit UI+ - 1025:1025 # SMTP Server+ - 8025:8025 # Mailpit UIrestart: unless-stoppedvolumes:diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex f86b9e472b..a4da31aa37 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -68,7 +68,6 @@ cd .devcontainerdocker compose up db dashboard redis mailpit```-If you didn’t set python version globally set [pyenv](https://github.com/pyenv/pyenv) local version:```shell@@ -357,6 +356,9 @@ pre-commit installFor more information on how it works, see the `.pre-commit-config.yaml` configuration file.+> [!NOTE]+> Running `git commit` for the first time might take a while, since all dependencies will be setting up.+Saleor has a strict formatting policy enforced by the [black formatting tool](https://github.com/python/black).Module names should make their purpose obvious. Avoid generic file names such as `utils.py`.