https://github.com/ixoncloud/apply-agent-template-to-all
https://github.com/ixoncloud/apply-agent-template-to-all
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ixoncloud/apply-agent-template-to-all
- Owner: ixoncloud
- Created: 2023-01-18T08:59:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-18T09:07:04.000Z (over 3 years ago)
- Last Synced: 2025-01-04T06:29:33.034Z (over 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Apply agent template to all agents
This is an example python script that shows you how you can apply an agent template to all agents in your company.
## Setup config.ini
Add config.ini file in project folder containing:
```
[vars]
bearer_token: YOUR_VALUE
api_application: YOUR_VALUE
api_company: YOUR_VALUE
template: YOUR_VALUE
```
## Create Virtual env
```
python3 -m venv .venv
```
### Windows venv activation
In cmd.exe
```
venv\Scripts\activate.bat
```
In PowerShell
```
venv\Scripts\Activate.ps1
```
### Linux and MacOS venv activation
```
$ source myvenv/bin/activate
```
## Install dependences
```
pip install -r requirements.txt
```
## Run program
```
python main.py
```