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
Copy file name to clipboardexpand all lines: README.md
+15-3
Original file line number
Diff line number
Diff line change
@@ -17,23 +17,35 @@ You can ask it things like "what models are available?" or "which model should I
17
17
18
18
## Development
19
19
20
-
Install dependencies:
20
+
1.Install dependencies:
21
21
22
22
```bash
23
23
npm install
24
24
```
25
25
26
-
To run in development mode:
26
+
2. Run the server
27
+
28
+
- To run in development mode:
27
29
28
30
```bash
29
31
npm run dev
30
32
```
31
33
32
-
To build and run in production mode:
34
+
-To build and run in production mode:
33
35
34
36
```bash
35
37
npm run build && npm start
36
38
```
39
+
3. Follow [this guide](https://docs.github.com/en/copilot/building-copilot-extensions/creating-a-copilot-extension/configuring-your-server-to-deploy-your-copilot-agent#configuring-your-server) to make your server accessible to the internet
40
+
41
+
In short, we would expose a public URL for our local server using the following command (follow the guide for detailed setup instructions):
42
+
```
43
+
ngrok http http://localhost:3000
44
+
```
45
+
46
+
4. Follow [this guide](https://docs.github.com/en/copilot/building-copilot-extensions/creating-a-copilot-extension/creating-a-github-app-for-your-copilot-extension) to create a GitHub app
47
+
5. Follow [this guide](https://docs.github.com/en/copilot/building-copilot-extensions/creating-a-copilot-extension/configuring-your-github-app-for-your-copilot-agent) to configure the app to use the public URL from (3.)
48
+
6. Use your newly installed app! On any copilot enabled page, type `@your-app-name <prompt>` (from the app created in 4.) to interact with your local installation of this extension!
0 commit comments