Skip to content

Commit 5ea913f

Browse files
author
Chris Wendt
authored
Update README.md
1 parent 8f4303b commit 5ea913f

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,22 @@ For Python code viewed on [Sourcegraph](https://sourcegraph.com) and when using
1414
- Go to definition
1515
- Find references
1616

17-
## Usage
17+
## Usage on your own Sourcegraph instance
18+
19+
Run the language server:
20+
21+
- Check out https://github.com/sourcegraph/python-language-server/tree/wip2 locally
22+
- Run `make docker`
23+
- Run `make run-docker` (it will listen on port 4288)
24+
25+
Add the address to your Python language server and an access token (for private repositories) to your Sourcegraph settings:
26+
27+
```
28+
"python.languageServer.url": "ws://localhost:4288",
29+
"python.accessToken": "*****",
30+
```
31+
32+
## Usage on Sourcegraph.com
1833

1934
This extension is enabled for all users by default on Sourcegraph.com and when using the [Sourcegraph browser extension](https://docs.sourcegraph.com/integration/browser_extension) on public code.
2035

0 commit comments

Comments
 (0)