Installation
Prerequisites
- Python (ms-python.python)
- Python debugger (ms-python.debugpy)
- Pylance (ms-python.vscode-pylance)
- Mypy type checker (ms-python.mypy-type-checker)
- Jupyter (ms-toolsai.jupyter)
- Jupyter cell tags, keymap, renderers, slide show
Clone the Source
git clone https://github.com/PyxisSoftwareOrg/csi.orbit.gitVirtual Environment
python3 -m venv .\nsource bin/activatepy -m venv .\n.\\Scripts\\Activate.ps1Install dependencies:
pip install -r py_env/requirements.txtJupyter (Optional)
Jupyter setup:
pip install jupyterlab\njupyter lab --no-browserDocker Setup
Create Docker network:
docker network create --gateway 169.254.170.1 --subnet 169.254.170.0/24 local-dockerStart Docker stack:
export PLATFORM=\"arm\"\ndocker compose -p ai up -dPostgres Setup
Connect to Postgres:
psql --host localhost --port 5435 --user postgres --dbname postgresEnable vector extension:
create extension if not exists vector;Create database:
create database ai_poc;AWS CLI
Configure AWS CLI with SSO:
aws configure sso --profile cred-vendor-pyxisNext Steps
See the following pages for configuration, security, and advanced deployment options.
Last updated on