Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ixoncloud/apply-agent-template-to-all
https://github.com/ixoncloud/apply-agent-template-to-all
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/ixoncloud/apply-agent-template-to-all
- Owner: ixoncloud
- Created: 2023-01-18T08:59:17.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-18T09:07:04.000Z (almost 2 years ago)
- Last Synced: 2024-11-09T11:39:30.759Z (about 2 months 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
```