plano/arch/tools/README.md

69 lines
1.2 KiB
Markdown
Raw Normal View History

## 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:
```bash
python -m venv venv
```
### Step 2: Activate the virtual environment
* On Linux/MacOS:
```bash
source venv/bin/activate
```
### Step 3: Run the build script
```bash
2025-12-03 17:12:34 -08:00
pip install archgw==0.3.21
```
## Uninstall Instructions: archgw CLI
```bash
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:
```bash
python -m venv venv
```
### Step 2: Activate the virtual environment
* On Linux/MacOS:
```bash
source venv/bin/activate
```
### Step 3: Run the build script
```bash
2024-12-06 15:48:07 -08:00
poetry install
```
### Step 4: build Arch
```bash
archgw build
```
2024-10-10 17:44:41 -07:00
### Logs
2025-11-22 15:04:41 -08:00
`archgw` command can also view logs from the gateway. Use following command to view logs,
2024-10-10 17:44:41 -07:00
```bash
archgw logs --follow
```
## Uninstall Instructions: archgw CLI
```bash
pip uninstall archgw