An open API service indexing awesome lists of open source software.

https://github.com/grycap/awm

AWM API
https://github.com/grycap/awm

Last synced: 5 months ago
JSON representation

AWM API

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

```