File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,26 @@ PC app configured to use ChatGPT with [our API](https://github.com/Em1tSan/Neuro
114114- Setting generation parameters for GPT models
115115- Built-in prompt templates and jailbreaks for various tasks
116116
117+ ## Local launch
118+
119+ Before starting, you must create a new .env file at project root, and place your api key into it:
120+
121+ ```
122+ OPENAI_API_KEY=<your api key here>
123+
124+ # if you are not able to access openai service, use this BASE_URL
125+ BASE_URL=https://neuroapi.host
126+ ```
127+
128+ ``` shell
129+ # 1. install nodejs and yarn first
130+ # 2. config local env vars in `.env.local`
131+ # 3. run
132+ yarn install
133+ yarn dev
134+ ```
135+ Then open http://127.0.0.1:3000 in your browser
136+
117137***
118138<div align =" center " >
119139
You can’t perform that action at this time.
0 commit comments