plain.dev 0.26.0__py3-none-any.whl → 0.26.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- plain/dev/README.md +3 -3
- {plain_dev-0.26.0.dist-info → plain_dev-0.26.1.dist-info}/METADATA +4 -4
- {plain_dev-0.26.0.dist-info → plain_dev-0.26.1.dist-info}/RECORD +6 -6
- {plain_dev-0.26.0.dist-info → plain_dev-0.26.1.dist-info}/WHEEL +0 -0
- {plain_dev-0.26.0.dist-info → plain_dev-0.26.1.dist-info}/entry_points.txt +0 -0
- {plain_dev-0.26.0.dist-info → plain_dev-0.26.1.dist-info}/licenses/LICENSE +0 -0
plain/dev/README.md
CHANGED
@@ -4,7 +4,7 @@ A single command that runs everything you need for local development.
|
|
4
4
|
|
5
5
|

|
6
6
|
|
7
|
-
The `plain.dev` package can be [installed from PyPI](https://pypi.org/project/plain.dev/), and does
|
7
|
+
The `plain.dev` package can be [installed from PyPI](https://pypi.org/project/plain.dev/), and does _not_ need to be added to `INSTALLED_PACKAGES`.
|
8
8
|
|
9
9
|
- [`plain dev`](#plain-dev)
|
10
10
|
- [`plain dev services`](#plain-dev-services)
|
@@ -26,7 +26,7 @@ The `plain dev` command does several things:
|
|
26
26
|
|
27
27
|
### Services
|
28
28
|
|
29
|
-
Use services to define databases or other processes that your app
|
29
|
+
Use services to define databases or other processes that your app _needs_ to be functional. The services will be started automatically in `plain dev`, but also in `plain pre-commit` (so preflight and tests have a database).
|
30
30
|
|
31
31
|
Ultimately, how you run your development database is up to you. But a recommended starting point is to use Docker:
|
32
32
|
|
@@ -38,7 +38,7 @@ postgres = {cmd = "docker run --name app-postgres --rm -p 54321:5432 -v $(pwd)/.
|
|
38
38
|
|
39
39
|
### Custom processes
|
40
40
|
|
41
|
-
Unlike [services](#services), custom processes are
|
41
|
+
Unlike [services](#services), custom processes are _only_ run during `plain dev`. This is a good place to run something like [ngrok](https://ngrok.com/) or a [Plain worker](../../../plain-worker), which you might need to use your local site, but don't need running for executing tests, for example.
|
42
42
|
|
43
43
|
```toml
|
44
44
|
# pyproject.toml
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: plain.dev
|
3
|
-
Version: 0.26.
|
3
|
+
Version: 0.26.1
|
4
4
|
Summary: Local development tools for Plain.
|
5
5
|
Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
|
6
6
|
License-Expression: BSD-3-Clause
|
@@ -22,7 +22,7 @@ A single command that runs everything you need for local development.
|
|
22
22
|
|
23
23
|

|
24
24
|
|
25
|
-
The `plain.dev` package can be [installed from PyPI](https://pypi.org/project/plain.dev/), and does
|
25
|
+
The `plain.dev` package can be [installed from PyPI](https://pypi.org/project/plain.dev/), and does _not_ need to be added to `INSTALLED_PACKAGES`.
|
26
26
|
|
27
27
|
- [`plain dev`](#plain-dev)
|
28
28
|
- [`plain dev services`](#plain-dev-services)
|
@@ -44,7 +44,7 @@ The `plain dev` command does several things:
|
|
44
44
|
|
45
45
|
### Services
|
46
46
|
|
47
|
-
Use services to define databases or other processes that your app
|
47
|
+
Use services to define databases or other processes that your app _needs_ to be functional. The services will be started automatically in `plain dev`, but also in `plain pre-commit` (so preflight and tests have a database).
|
48
48
|
|
49
49
|
Ultimately, how you run your development database is up to you. But a recommended starting point is to use Docker:
|
50
50
|
|
@@ -56,7 +56,7 @@ postgres = {cmd = "docker run --name app-postgres --rm -p 54321:5432 -v $(pwd)/.
|
|
56
56
|
|
57
57
|
### Custom processes
|
58
58
|
|
59
|
-
Unlike [services](#services), custom processes are
|
59
|
+
Unlike [services](#services), custom processes are _only_ run during `plain dev`. This is a good place to run something like [ngrok](https://ngrok.com/) or a [Plain worker](../../../plain-worker), which you might need to use your local site, but don't need running for executing tests, for example.
|
60
60
|
|
61
61
|
```toml
|
62
62
|
# pyproject.toml
|
@@ -1,4 +1,4 @@
|
|
1
|
-
plain/dev/README.md,sha256=
|
1
|
+
plain/dev/README.md,sha256=EQJ9lF-JQ9KQWJZ_j6CD3jbRquOLgDRlIPbgT7A2gG4,3658
|
2
2
|
plain/dev/__init__.py,sha256=nRX1B0Br8gmqhJLqo5Z9PqzReDahBtbmwH6C-7hzuls,103
|
3
3
|
plain/dev/cli.py,sha256=akKprg7UV6JHweCt2dhXxEE6OgIt0bDI4CKj8B1J-68,13308
|
4
4
|
plain/dev/debug.py,sha256=Ka84K8zUdF0kMYNyqiLYDrdzU1jU8LSOkts3hcw_Gok,1005
|
@@ -24,8 +24,8 @@ plain/dev/poncho/process.py,sha256=JJOKy-C6vMCg7-6JMCtu6C649h7HmOBSJqDP_hnX49I,2
|
|
24
24
|
plain/dev/precommit/__init__.py,sha256=9ByBOIdM8DebChjNz-RH2atdz4vWe8somlwNEsbhwh4,40
|
25
25
|
plain/dev/precommit/cli.py,sha256=KVHcG3Y_JZJNu3_MLIrO5s6yMYQfAArIU5L0hNWZUjg,3441
|
26
26
|
plain/dev/templates/dev/requests.html,sha256=kQKJZq5L77juuL_t8UjcAehEU61U4RXNnKaAET-wAm8,7627
|
27
|
-
plain_dev-0.26.
|
28
|
-
plain_dev-0.26.
|
29
|
-
plain_dev-0.26.
|
30
|
-
plain_dev-0.26.
|
31
|
-
plain_dev-0.26.
|
27
|
+
plain_dev-0.26.1.dist-info/METADATA,sha256=HaZlzBK_kha_IyXGIPhvPai7uAuyK5DEMbwe6SFMH7g,4163
|
28
|
+
plain_dev-0.26.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
29
|
+
plain_dev-0.26.1.dist-info/entry_points.txt,sha256=zrcTOiFk_MLKsnYVlwVP7aMm1XLEqq7w4EBkJ-3ge-g,114
|
30
|
+
plain_dev-0.26.1.dist-info/licenses/LICENSE,sha256=Cx4Dq9yR2fLHthf8Ke36B8QJvE1bZFXVzDIGE8wGzsY,4132
|
31
|
+
plain_dev-0.26.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|