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
Ellar CLI is an abstracted tool for ellar web framework that helps in standard project scaffold of the framework, module project scaffold, runing the project local server using uvicorn and runing custom command registered in application module or any ellar module.
14
+
Ellar CLI is an abstracted tool for the Ellar web framework that helps in the standard project scaffold of the framework, module project scaffold, running the project local server using UVICORN, and running custom commands registered in the application module or any Ellar module.
15
15
16
16
## Requirements
17
17
- Python >= 3.7
@@ -23,10 +23,17 @@ if you have [ellar](https://github.com/eadwinCode/ellar) install ready
23
23
pip install ellar-cli
24
24
```
25
25
Full installation
26
+
26
27
```shell
27
28
pip install ellar-cli[full]
28
29
```
29
30
31
+
### NB:
32
+
Some shells may treat square braces (`[` and `]`) as special characters. If that's the case here, then use a quote around the characters to prevent unexpected shell expansion.
Copy file name to clipboardExpand all lines: docs/new-command.md
+34-30Lines changed: 34 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,48 +1,52 @@
1
1
2
-
This command will help you kickstart your new Ellar project by creating a new project with a directory structure and other required files necessary for ellar to properly manage your project.
2
+
This command will help you kickstart your new Ellar project.
3
+
4
+
It creates a new project for you with a directory structure and adds all required files for Ellar CLI to properly manage your project.
3
5
4
6
```shell
5
7
ellar new my-project
6
8
```
7
9
8
10
will create a folder as follows:
9
11
```angular2html
10
-
my-package
11
-
├── pyproject.toml
12
-
├── README.md
13
-
├── my_project
14
-
| ├── apps
15
-
| | └── __init__.py
16
-
| ├── core
17
-
| ├── domain
18
-
| └── __init__.py
19
-
| └── config.py
20
-
| └── root_module.py
21
-
| └── server.py
22
-
└── tests
23
-
└── __init__.py
12
+
my-project/
13
+
├─ my_project/
14
+
│ ├─ apps/
15
+
│ │ ├─ __init__.py
16
+
│ ├─ core/
17
+
│ ├─ config.py
18
+
│ ├─ domain
19
+
│ ├─ root_module.py
20
+
│ ├─ server.py
21
+
│ ├─ __init__.py
22
+
├─ tests/
23
+
│ ├─ __init__.py
24
+
├─ pyproject.toml
25
+
├─ README.md
26
+
24
27
```
25
-
If you want to name your project differently than the folder, you can pass the `--project-name` option:
28
+
If you want to name your project differently than the folder, you can pass the `--project-name` option.
Copy file name to clipboardExpand all lines: docs/runserver-command.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
2
-
This is command is a wrapper around `uvicorn` ASGI server. it helps to create a link necessary for `uvicorn` to run your ellar application properly.
2
+
This is command is a wrapper around the `UVICORN` ASGI server. It helps to create a link necessary for `UVICORN` to run your Ellar application properly.
0 commit comments