From 7dbb8f8d789eb08a7c83cee02a6aac248afe9284 Mon Sep 17 00:00:00 2001 From: Nate Sesti <33237525+sestinj@users.noreply.github.com> Date: Fri, 28 Jul 2023 19:59:27 -0700 Subject: Update how-continue-works.md --- docs/docs/how-continue-works.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/docs/how-continue-works.md b/docs/docs/how-continue-works.md index 588b1308..06aada52 100644 --- a/docs/docs/how-continue-works.md +++ b/docs/docs/how-continue-works.md @@ -8,4 +8,24 @@ The `Continue` library consists of an **SDK**, a **GUI**, and a **Server** that 2. The **GUI** lets you transparently review every automated step, providing the opportunity to undo and rerun any that ran incorrectly. -3. The **Server** is responsible for connecting the GUI and SDK to the IDE as well as deciding which steps to take next. \ No newline at end of file +3. The **Server** is responsible for connecting the GUI and SDK to the IDE as well as deciding which steps to take next. + + +## Running the server manually + +If you would like to run the Continue server manually, rather than allowing the VS Code to set it up, you can follow these steps: + +1. `git clone https://github.com/continuedev/continue` +2. `cd continue/continuedev` +3. Make sure packages are installed with `poetry install` + - If poetry is not installed, you can install with + ```bash + curl -sSL https://install.python-poetry.org | python3 - + ``` + (official instructions [here](https://python-poetry.org/docs/#installing-with-the-official-installer)) +4. `poetry shell` to activate the virtual environment +5. Either: + + a) To run without the debugger: `cd ..` and `python3 -m continuedev.src.continuedev.server.main` + + b) To run with the debugger: Open a VS Code window with `continue` as the root folder. Ensure that you have selected the Python interpreter from virtual environment, then use the `.vscode/launch.json` we have provided to start the debugger. -- cgit v1.2.3-70-g09d2