Python server has been obsoleted, rm
parent
21efa74b63
commit
db7eec0411
28
BUILD.md
28
BUILD.md
|
@ -7,21 +7,10 @@ Using Debian Bookworm (stable/12).
|
|||
# Dependencies
|
||||
Install OS dependencies.
|
||||
|
||||
Perhaps:
|
||||
Note, the Python server was obsoleted by upstream.
|
||||
Python is no longer needed to build the extension.
|
||||
|
||||
```
|
||||
sudo apt install \
|
||||
git python3-venv python3-virtualenv python3-pip
|
||||
```
|
||||
|
||||
|
||||
# Setup
|
||||
Python setup, such as:
|
||||
|
||||
```
|
||||
virtualenv venv
|
||||
source venv/bin/activate
|
||||
```
|
||||
Python is used to build the parrot-extension website documentation.
|
||||
|
||||
|
||||
# Build
|
||||
|
@ -41,7 +30,6 @@ Build parts, in order:
|
|||
|
||||
```
|
||||
make setup
|
||||
make server
|
||||
```
|
||||
|
||||
## Extension build
|
||||
|
@ -49,12 +37,6 @@ make server
|
|||
src/extensions/vscode/build/continue-patch.vsix
|
||||
```
|
||||
|
||||
## continue_server build
|
||||
```
|
||||
src/dist/continue_server
|
||||
```
|
||||
|
||||
|
||||
# Versions
|
||||
To update versions:
|
||||
|
||||
|
@ -81,7 +63,9 @@ make push
|
|||
|
||||
|
||||
# Search
|
||||
Meilisearch is used.
|
||||
Meilisearch is (was?) used.
|
||||
No longer used as of v0.8.x in upstream. XXX confirm.
|
||||
|
||||
|
||||
Need to build it.
|
||||
Used Rust 1.73.0.
|
||||
|
|
|
@ -39,7 +39,7 @@ Upstream sources under their respective copyrights.
|
|||
|
||||
|
||||
# License
|
||||
*Copyright © 2023, Jeff Moe.*
|
||||
*Copyright © 2023, 2024 Jeff Moe.*
|
||||
|
||||
`parrot-extension` is distributed under the terms of the
|
||||
[AGPL-3.0-or-later](https://spdx.org/licenses/AGPL-3.0-or-later.html) license.
|
||||
|
|
|
@ -17,7 +17,9 @@ Dependencies
|
|||
Using Debian Bookworm (stable/12).
|
||||
Install OS dependencies.
|
||||
|
||||
Perhaps:
|
||||
Python is needed to build the documentation.
|
||||
Python is no longer needed to build the extension, as upstream
|
||||
has removed the Python server.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
@ -37,19 +39,6 @@ To build the Parrot extension, download the source code from the git repository.
|
|||
cd parrot-extension/
|
||||
|
||||
|
||||
.. _setup:
|
||||
|
||||
Setup
|
||||
*****
|
||||
|
||||
Python setup, such as:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
virtualenv venv
|
||||
source venv/bin/activate
|
||||
|
||||
|
||||
.. _build:
|
||||
|
||||
Build
|
||||
|
@ -67,26 +56,12 @@ Same as:
|
|||
|
||||
make all
|
||||
|
||||
Build parts, in order:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
make setup
|
||||
make server
|
||||
|
||||
**Extension build**
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
src/extensions/vscode/build/continue-patch.vsix
|
||||
|
||||
**continue_server build**
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
src/dist/continue_server
|
||||
|
||||
|
||||
.. _versions:
|
||||
|
||||
Versions
|
||||
|
@ -124,29 +99,6 @@ Push to git repo.
|
|||
make push
|
||||
|
||||
|
||||
.. _search:
|
||||
|
||||
Search
|
||||
******
|
||||
|
||||
Meilisearch is used.
|
||||
|
||||
Need to build it.
|
||||
Used Rust 1.73.0.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
git clone --recursive https://github.com/meilisearch/meilisearch
|
||||
cd meilisearch/
|
||||
cargo build
|
||||
./target/debug/meilisearch
|
||||
# ctrl-c, maybe note key.
|
||||
mkdir -p ~/.continue/server/
|
||||
cp -p ./target/debug/meilisearch ~/.continue/server/
|
||||
# newly created:
|
||||
cp -a data.ms dumps ~/.continue/server/
|
||||
|
||||
|
||||
.. _run:
|
||||
|
||||
Run
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
python src/continue_server.py
|
Loading…
Reference in New Issue