Orbit Logo
Solutions/Orbit Hosted/Configurations

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.git

Virtual Environment

python3 -m venv .\nsource bin/activate
py -m venv .\n.\\Scripts\\Activate.ps1

Install dependencies:

pip install -r py_env/requirements.txt

Jupyter (Optional)

Jupyter setup:

pip install jupyterlab\njupyter lab --no-browser

Docker Setup

Create Docker network:

docker network create --gateway 169.254.170.1 --subnet 169.254.170.0/24 local-docker

Start Docker stack:

export PLATFORM=\"arm\"\ndocker compose -p ai up -d

Postgres Setup

Connect to Postgres:

psql --host localhost --port 5435 --user postgres --dbname postgres

Enable 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-pyxis

Next Steps

See the following pages for configuration, security, and advanced deployment options.

Last updated on