https://github.com/grycap/awm
AWM API
https://github.com/grycap/awm
Last synced: 5 months ago
JSON representation
AWM API
- Host: GitHub
- URL: https://github.com/grycap/awm
- Owner: grycap
- License: apache-2.0
- Created: 2025-03-31T08:48:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-01-14T08:26:55.000Z (5 months ago)
- Last Synced: 2026-01-14T11:14:50.206Z (5 months ago)
- Language: Python
- Size: 210 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# AWM
## Overview
Implements EOSC Application Workflow Management API.
## Requirements
Python 3.5.2+
## Configuration
Set this environment variables to configure the AWM service:
```bash
LOG_LEVEL=info
DB_URL=file:///tmp/awm.db
IM_URL=http://localhost:8800
ALLOCATION_STORE="db" # or vault
VAULT_URL=https://secrets.egi.eu
ENCRYPT_KEY=3JSvUdOsAlvSNVYvBwHWE-iKdWkhq4C_LmjRcpuycT0=
AWM_TOOLS_REPO=https://github.com/grycap/tosca/blob/eosc_lot1/templates/
```
Or you can set an `.env` file as the `.env.example` provided.
## Usage
To run the server, please execute the following from the root directory:
```bash
pip3 install -r requirements.txt
python3 -m awm
```
and open your browser to here:
```bash
http://localhost:8080/
```
## Running with Docker
To run the server on a Docker container, please execute the following from the root directory:
```bash
# building the image
docker build -t awm .
# starting up a container
docker run -p 8080:8080 awm
# starting up a setting the IM_URL variable
docker run -p 8080:8080 -e IM_URL=https://appsgrycap.i3m.upv.es/im-dev/ ghcr.io/grycap/awm
```