Skip to content

Commit 0f75a4e

Browse files
feat : Add command line startup instructions (#660)
* feat : Add command line startup instructions * Update README.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * feat : update readme --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 2500c20 commit 0f75a4e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ Firstly copy the `.env.example` file to `.env` and set the correct environment v
4848
cp .env.example .env
4949
```
5050

51+
Run the daemon with the following command. It uses `godotenv` to load environment variables from the `.env` file.
52+
53+
```bash
54+
go run github.com/joho/godotenv/cmd/godotenv@latest -f .env go run cmd/server/main.go
55+
```
56+
5157
If you were using a non-AWS S3 storage before version 0.1.2, you need to manually set the S3_USE_AWS environment variable to false in the .env file.
5258

5359
Attention that the `PYTHON_INTERPRETER_PATH` is the path to the python interpreter, please specify the correct path according to your python installation and make sure the python version is 3.11 or higher, as dify-plugin-sdk requires.

0 commit comments

Comments
 (0)