mirror of
https://github.com/katanemo/plano.git
synced 2026-05-05 05:42:49 +02:00
* removing unnecessar setup.py files * updated the cli for debug and access logs * ran the pre-commit locally to fix pull request * fixed bug where if archgw_process is None we didn't handle it gracefully * Apply suggestions from code review Co-authored-by: Adil Hafeez <adil@katanemo.com> * fixed changes based on PR * fixed version not found message * fixed message based on PR feedback * adding poetry lock * fixed pre-commit --------- Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-261.local> Co-authored-by: Adil Hafeez <adil@katanemo.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| test | ||
| __init__.py | ||
| build_cli.sh | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||
Setup Instructions(User): archgw CLI
This guide will walk you through the steps to set up the archgw cli on your local machine
Step 1: Create a Python virtual environment
In the tools directory, create a Python virtual environment by running:
python -m venv venv
Step 2: Activate the virtual environment
- On Linux/MacOS:
source venv/bin/activate
Step 3: Run the build script
pip install archgw
Uninstall Instructions: archgw CLI
pip uninstall archgw
Setup Instructions (Dev): archgw CLI
This guide will walk you through the steps to set up the archgw cli on your local machine when you want to develop the Archgw CLI
Step 1: Create a Python virtual environment
In the tools directory, create a Python virtual environment by running:
python -m venv venv
Step 2: Activate the virtual environment
- On Linux/MacOS:
source venv/bin/activate
Step 3: Run the build script
sh build_cli.sh
Step 4: build Arch
archgw build
Step 5: download models
This will help download models so model_server can load faster. This should be done once.
archgw download-models
Logs
archgw command can also view logs from gateway and model_server. Use following command to view logs,
archgw logs --follow
Uninstall Instructions: archgw CLI
pip uninstall archgw