zrb 0.11.0__py3-none-any.whl → 0.11.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.
- zrb/builtin/project/create/template/.github/workflows/hello.yml +1 -1
- {zrb-0.11.0.dist-info → zrb-0.11.1.dist-info}/METADATA +10 -10
- {zrb-0.11.0.dist-info → zrb-0.11.1.dist-info}/RECORD +6 -6
- {zrb-0.11.0.dist-info → zrb-0.11.1.dist-info}/LICENSE +0 -0
- {zrb-0.11.0.dist-info → zrb-0.11.1.dist-info}/WHEEL +0 -0
- {zrb-0.11.0.dist-info → zrb-0.11.1.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: zrb
|
3
|
-
Version: 0.11.
|
3
|
+
Version: 0.11.1
|
4
4
|
Summary: A Framework to Enhance Your Workflow
|
5
5
|
Home-page: https://github.com/state-alchemists/zrb
|
6
6
|
License: AGPL-3.0-or-later
|
@@ -243,21 +243,21 @@ zrb project create --project-dir my-project --project-name "My Project"
|
|
243
243
|
cd my-project
|
244
244
|
|
245
245
|
# Create a Fastapp
|
246
|
-
zrb project add fastapp --project-dir . --app-name "fastapp" --http-port 3000
|
246
|
+
zrb project add fastapp app --project-dir . --app-name "fastapp" --http-port 3000
|
247
247
|
|
248
248
|
# Add library module to fastapp
|
249
|
-
zrb project add fastapp
|
249
|
+
zrb project add fastapp module --project-dir . --app-name "fastapp" --module-name "library"
|
250
250
|
|
251
251
|
# Add entity named "books"
|
252
|
-
zrb project add fastapp
|
252
|
+
zrb project add fastapp crud --project-dir . --app-name "fastapp" --module-name "library" \
|
253
253
|
--entity-name "book" --plural-entity-name "books" --column-name "code"
|
254
254
|
|
255
255
|
# Add column to the entity
|
256
|
-
zrb project add fastapp
|
256
|
+
zrb project add fastapp field --project-dir . --app-name "fastapp" --module-name "library" \
|
257
257
|
--entity-name "book" --column-name "title" --column-type "str"
|
258
258
|
|
259
259
|
# Run Fastapp as monolith
|
260
|
-
zrb project
|
260
|
+
zrb project fastapp monolith start
|
261
261
|
```
|
262
262
|
|
263
263
|
Once you invoke the commands, you will be able to access the CRUD application by pointing your browser to [http://localhost:3000](http://localhost:3000)
|
@@ -268,15 +268,15 @@ Furthermore, you can also split your application into `microservices`, run them
|
|
268
268
|
|
269
269
|
```bash
|
270
270
|
# Run Fastapp as microservices
|
271
|
-
zrb project
|
271
|
+
zrb project fastapp microservices start
|
272
272
|
|
273
273
|
# Run Fastapp as container
|
274
|
-
zrb project
|
275
|
-
zrb project
|
274
|
+
zrb project fastapp container microservices start
|
275
|
+
zrb project fastapp container stop
|
276
276
|
|
277
277
|
# Deploy fastapp and all it's dependencies to kubernetes
|
278
278
|
docker login
|
279
|
-
zrb project
|
279
|
+
zrb project fastapp microservices deploy
|
280
280
|
```
|
281
281
|
|
282
282
|
Visit [our tutorials](https://github.com/state-alchemists/zrb/blob/main/docs/tutorials/README.md) to see more cool tricks.
|
@@ -1269,7 +1269,7 @@ zrb/builtin/project/create/create.py,sha256=pVbnd9KpqKHUXvBXJENTt3vU-oxTBd5Z5BUa
|
|
1269
1269
|
zrb/builtin/project/create/init-git.sh,sha256=38ri7BuoT_5vXS2jlNbJmkSPgaZvkIBWt-Np_DhMjLI,110
|
1270
1270
|
zrb/builtin/project/create/template/.flake8,sha256=uBzLhwCiogbbtgxD9dBTGxSm_8VQ1UHpVkn2CroGl3c,56
|
1271
1271
|
zrb/builtin/project/create/template/.github/workflows/_zrb.yml,sha256=KO39KchT81zPwvmwUntYzpU7D0PVuaD73wi8s48IDcs,1081
|
1272
|
-
zrb/builtin/project/create/template/.github/workflows/hello.yml,sha256=
|
1272
|
+
zrb/builtin/project/create/template/.github/workflows/hello.yml,sha256=JmaDXN3vagvA47Sy41Z4ieNMElqqkM-k6y7t5CHJ93o,208
|
1273
1273
|
zrb/builtin/project/create/template/.gitignore,sha256=9Sy-cmSDOIawqlmervgoO1eWMoJpOTUIneOpNqGW2Dw,27
|
1274
1274
|
zrb/builtin/project/create/template/.python-version,sha256=rGeoqWHOE1NzOu73didX8_OyjR9O8b-XNp87WjKbO0s,7
|
1275
1275
|
zrb/builtin/project/create/template/README.md,sha256=SgNuKZ87idoUQyHim3-ldRXh5roD7neUGEroNN5gCiE,2039
|
@@ -1398,8 +1398,8 @@ zrb/task_input/int_input.py,sha256=NVXAToqgdmWVwDqnr3XGuvq_QMNvUiIdD-pW5L4uebk,4
|
|
1398
1398
|
zrb/task_input/password_input.py,sha256=5sS3XP7WtGow7r7Fid8J9SX0iNCidO6Bg7q40UpZDM0,4029
|
1399
1399
|
zrb/task_input/str_input.py,sha256=D2WBeB-CdmAuOSzT7jTXvie7X3EK_m_Oq8_SVwmNpWA,4042
|
1400
1400
|
zrb/task_input/task_input.py,sha256=L-U5dX-I2U5ci7GU226Q8pXcQe5SpGuOl5viFwlfiM0,2022
|
1401
|
-
zrb-0.11.
|
1402
|
-
zrb-0.11.
|
1403
|
-
zrb-0.11.
|
1404
|
-
zrb-0.11.
|
1405
|
-
zrb-0.11.
|
1401
|
+
zrb-0.11.1.dist-info/LICENSE,sha256=WfnGCl8G60EYOPAEkuc8C9m9pdXWDe08NsKj3TBbxsM,728
|
1402
|
+
zrb-0.11.1.dist-info/METADATA,sha256=hxPz6AVjarREgJrwik9wKslKRUrSe5NK7_vVO_SCCCs,16460
|
1403
|
+
zrb-0.11.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
1404
|
+
zrb-0.11.1.dist-info/entry_points.txt,sha256=xTgXc1kBKYhJHEujdaSPHUcJT3-hbyP1mLgwkv-5sSk,40
|
1405
|
+
zrb-0.11.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|