Readme.md 887 Bytes
Newer Older
carignani's avatar
readme  
carignani committed
1
2
# Tosca Import/Export

carignani's avatar
carignani committed
3
4
Tools to import/export TOSCA definitions in YAML from/to ETSI Specifications in Docx format.

carignani's avatar
carignani committed
5
Currently supports ETSI GS NFV-SOL 001 (versions from 2.4.1 to 3.3.1).
carignani's avatar
carignani committed
6

carignani's avatar
carignani committed
7
This tool is provided as-is, no guarantees are applicable on the correctness of the output.
carignani's avatar
carignani committed
8
9
Use at your own risk.

carignani's avatar
carignani committed
10
11
## Create `env` file

carignani's avatar
carignani committed
12
13
The `env` file is used for environment settings.

carignani's avatar
carignani committed
14
15
   cp env_example env
   $EDITOR env # Customize SECRET
carignani's avatar
readme  
carignani committed
16
17
18
19
20
21
22
23
24

## Run with docker

Build the image with 

    docker build -t tosca-ie-sample:latest .

Run the container with

carignani's avatar
carignani committed
25
    docker run -d -t -p 5000:5000 tosca-ie-sample
carignani's avatar
readme  
carignani committed
26

carignani's avatar
carignani committed
27
28
29
30
31
32
### Relaunch utility

A simple tool is provided to rebuild, kill and relaunch the container in a deployment. See `relaunch.sh`.


## Run web app locally
carignani's avatar
readme  
carignani committed
33
34
35
36
37
38
39

Install prerequisites 

    pip install -r requirements.txt

Run the web_app

carignani's avatar
carignani committed
40
    python src/web_app.py
carignani's avatar
carignani committed
41
42
43
44

## Licensing

See LICENSE file.