From ed4f79e8c12eadcf7ccc43a7f23e65ea513117bd Mon Sep 17 00:00:00 2001 From: Sanskar Jethi <29942790+sansyrox@users.noreply.github.com> Date: Sat, 25 Nov 2023 18:38:07 +0530 Subject: [PATCH] docs: add docs for v0.45.0 - improve create robyn app (#700) --- .../pages/documentation/example_app/index.mdx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs_src/src/pages/documentation/example_app/index.mdx b/docs_src/src/pages/documentation/example_app/index.mdx index 8c7c49e0f..aa23ad606 100644 --- a/docs_src/src/pages/documentation/example_app/index.mdx +++ b/docs_src/src/pages/documentation/example_app/index.mdx @@ -25,6 +25,24 @@ Batman wanted to create a Robyn app and was about to create an `src/app.py` befo $ python -m robyn --create ``` +This, would result in the following output. + +```bash +$ python3 -m robyn --create +? Directory Path: . +? Need Docker? (Y/N) Y +? Please select project type (Mongo/Postgres/Sqlalchemy/Prisma): +❯ No DB + Sqlite + Postgres + MongoDB + SqlAlchemy + Prisma +``` + +and the following directory structure. + + Batman was asked a set of questions to configure the application. He chose to use the default values for most of the questions. And he was done! The Robyn CLI created a new application with the following structure.