Skip to content

Commit c6f991a

Browse files
authored
Move .env.example to Misc
1 parent 069aa47 commit c6f991a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Read the [blog post](https://ricklamers.io/posts/gpt-code) to find out more.
1111
Open a terminal and run:
1212

1313
```
14-
cp .env.example .env
1514
pip install gpt-code-ui
1615
gptcode
1716
```
@@ -36,6 +35,14 @@ Set the `API_PORT`, `WEB_PORT`, `SNAKEMQ_PORT` variables to override the default
3635

3736
Set `OPENAI_BASE_URL` to change the OpenAI API endpoint that's being used (note this environment variable includes the protocol `https://...`).
3837

38+
You can use the `.env.example` in the repository (make sure you `git clone` the repo to get the file first).
39+
40+
```
41+
cp .env.example .env
42+
vim .env
43+
gptcode
44+
```
45+
3946
### Docker
4047
[localagi](https://github.com/localagi) took the effort of bundling the Python package in a Docker container. Check it out here: [gpt-code-ui-docker](https://github.com/localagi/gpt-code-ui-docker).
4148

0 commit comments

Comments
 (0)