1.5 KiB
1.5 KiB
Development
Reworking.
Using Debian Bookworm (stable/12).
Dependencies
Install OS dependencies.
Perhaps:
sudo apt install \
git python3-venv python3-virtualenv python3-pip
Setup
Python setup, such as:
virtualenv venv
source venv/bin/activate
Build
Thusly:
make
Same as:
make all
Build parts, in order:
make setup
make server
Extension build:
src/extensions/vscode/build/continue-patch.vsix
Versions
To update versions:
${EDITOR} CHANGELOG
# git tag v0.0.0
Clean
Clean.
make clean
Push
Push to git repo.
make push
Search
Meilisearch is used.
Need to build it. Used Rust 1.73.0.
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
Server:
./wut-server
Extension
Perhaps
cd src/extensions/vscode/
yarn
yarn package
Ollama
Perhaps Ollama.
wget https://go.dev/dl/go1.21.2.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.2.linux-amd64.tar.gz
echo 'export PATH=/usr/local/go/bin:$PATH' >> ~/.bashrc
git clone --recursive https://github.com/jmorganca/ollama
cd ollama/
go clean
go generate ./...
go build .
./olama server
./ollama pull orca-mini
./ollama run orca-mini