Skip to content

Commit adf56a2

Browse files
author
Jens Kürten
committed
fix incorrect commands in doc
1 parent eab83fc commit adf56a2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/development_server.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ This speeds up the development of Functions, because you can instantly test your
77
You can start the development server using the following command:
88

99
```bash
10-
python -m functions.server
10+
python -m csfunctions.devserver
1111
```
1212

1313
You can set the port of the server using the `--port` flag (default is 8000), or by setting the `CON_DEV_PORT` environment variable:
1414

1515
```bash
16-
python -m functions.server --port 8080
16+
python -m csfunctions.devserver --port 8080
1717
```
1818

1919
You can set the directory containing the `environment.yaml` file using the `--dir` flag (by default the current working directory is used) or by setting the `CON_DEV_DIR` environment variable:
2020

2121
```bash
22-
python -m functions.server --dir ./my_functions
22+
python -m csfunctions.devserver --dir ./my_functions
2323
```
2424

2525
You can enable HMAC verification of requests using the `--secret` flag, or by setting the `CON_DEV_SECRET` environment variable:
2626

2727
```bash
28-
python -m functions.server --secret my_secret
28+
python -m csfunctions.devserver --secret my_secret
2929
```
3030

3131
## Autoreloading
@@ -76,7 +76,7 @@ Since the development server is exposed to the outside world, you should secure
7676
You can enable HMAC verification of requests using the `--secret` flag, or by setting the `CON_DEV_SECRET` environment variable:
7777

7878
```bash
79-
python -m functions.server --secret my_secret
79+
python -m csfunctions.devserver --secret my_secret
8080
```
8181

8282
Make sure to use the same secret in your CIM Database Cloud instance when setting up the webhook and enable HMAC signing.

0 commit comments

Comments
 (0)