You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,15 +33,15 @@ cd supabase-py
33
33
34
34
This repository relies on the following dependencies for development:
35
35
-`uv` for python project management.
36
-
-`make` for command running.
36
+
-`make` for running project commands.
37
37
-`docker` for both `postgrest` and `auth` test containers.
38
38
-`supabase-cli` for both `storage` and `realtime` test containers.
39
39
40
40
All of these dependencies are included in the nix shell environment, through `flake.nix`. If you've got `nix` installed, you may prefer to use it through `nix develop`.
41
41
42
42
### Use a Virtual Environment
43
43
44
-
We recommend using a virtual environment, preferrably through `uv`, given it is currently the only tool that understands the workspace setup (you can read more about it in [the uv docs](https://docs.astral.sh/uv/concepts/projects/workspaces/)).
44
+
We recommend using a virtual environment, preferably through `uv`, given it is currently the only tool that understands the workspace setup (you can read more about it in [the uv docs](https://docs.astral.sh/uv/concepts/projects/workspaces/)).
45
45
46
46
```
47
47
uv venv supabase-py
@@ -53,7 +53,7 @@ If you're using nix, the generated `python` executable should have the correct d
53
53
54
54
### Running tests and other commands
55
55
56
-
We use `make` to store and run the relevant commands. The structure is setup such that each sub package can individually set its command in its own `Makefile`, and the job of the main `Makefile` is just coordinate calling each of them.
56
+
We use `make` to store and run the relevant commands. The structure is set up such that each sub package can individually set its command in its own `Makefile`, and the job of the main `Makefile` is just coordinate calling each of them.
57
57
58
58
For instance, in order to run all tests of all packages, you should use the following root command
59
59
```bash
@@ -70,11 +70,11 @@ To run each of the packages' tests in parallel. This should be generally faster
70
70
Other relevant commands include
71
71
```bash
72
72
make install-hooks # install all commit hooks into the local .git folder
73
-
make stop-infra # stops all running containers from all packages
74
-
make clean # delete all intermediary files created by testing
73
+
make stop-infra # stops all running containers from all packages
74
+
make clean # delete all intermediary files created by testing
75
75
```
76
-
All the sub packages command are available from the main root by prefixing the command with `{package_name}.`. Examples:
76
+
All the subpackages command are available from the main root by prefixing the command with `{package_name}.`. Examples:
77
77
```bash
78
78
make realtime.tests # run only realtime tests
79
-
make storage.clean # delete temporary files only in the storage package
79
+
make storage.clean # delete temporary files only in the storage package
0 commit comments