-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow running server on custom port
fixes #75
- Loading branch information
Showing
8 changed files
with
97 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,4 +55,4 @@ jobs: | |
- name: Run pytest | ||
run: | | ||
poetry run pytest . -vvs | ||
poetry run pytest . -vvs --timeout=60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- markdownlint-disable MD046 --> | ||
# SeaGOAT-server | ||
|
||
The seagoat-server is an integral component of the Seagoat command-line tool | ||
designed to analyze your codebase and create vector embeddings for it. | ||
|
||
While it serves as a backend for the command-line tool, also allows you to | ||
use it through HTTP to build your own SeaGOAT-based applications. | ||
|
||
## Starting the server | ||
|
||
To boot up the server for a specific repository, use: | ||
|
||
```bash | ||
seagoat-server start <repo_path> [--port=<custom_port>] | ||
``` | ||
|
||
* `repo_path`: Path to your Git repository | ||
* `--port`: (Optional) Run the server on a specific port | ||
|
||
If you don't specify a custom port, a random port will be assigned to your | ||
server. Don't worry, SeaGOAT will still be able to automatically find | ||
the server corresponding to a specific repository. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters