2023-06-16 18:52:56 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-12-04 20:50:56 +00:00
|
|
|
yum -y update
|
|
|
|
yum install gcc bzip2-devel libffi-devel zlib-devel wget tar gzip -y
|
|
|
|
amazon-linux-extras install python3.8 -y
|
2023-07-27 20:13:59 +00:00
|
|
|
|
2023-12-04 20:50:56 +00:00
|
|
|
# install quarto
|
|
|
|
wget -q https://github.com/quarto-dev/quarto-cli/releases/download/v1.3.450/quarto-1.3.450-linux-amd64.tar.gz
|
|
|
|
tar -xzf quarto-1.3.450-linux-amd64.tar.gz
|
|
|
|
export PATH=$PATH:$(pwd)/quarto-1.3.450/bin/
|
2023-07-27 20:13:59 +00:00
|
|
|
|
|
|
|
|
2023-12-04 20:50:56 +00:00
|
|
|
python3.8 -m venv .venv
|
2023-06-16 18:52:56 +00:00
|
|
|
source .venv/bin/activate
|
2023-12-04 20:50:56 +00:00
|
|
|
python3.8 -m pip install --upgrade pip
|
|
|
|
python3.8 -m pip install -r vercel_requirements.txt
|
|
|
|
python3.8 scripts/model_feat_table.py
|
2023-11-10 07:36:21 +00:00
|
|
|
mkdir docs/templates
|
|
|
|
cp ../templates/docs/INDEX.md docs/templates/index.md
|
2023-12-04 20:50:56 +00:00
|
|
|
python3.8 scripts/copy_templates.py
|
2023-10-19 21:05:24 +00:00
|
|
|
cp ../cookbook/README.md src/pages/cookbook.mdx
|
2023-12-04 20:50:56 +00:00
|
|
|
wget -q https://raw.githubusercontent.com/langchain-ai/langserve/main/README.md -O docs/langserve.md
|
|
|
|
quarto render docs/
|