Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
updated doc
  • Loading branch information
IndikaKuma authored Jun 23, 2020
1 parent d76c683 commit 9438e3a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,30 @@ The built artifact for TOSCA is a web application (.war file) that can be deploy

The built artifact for Ansible is a Flask Web application.

## Docker Image Building and Usage: Ansible Smell Detector
```
sudo docker build -t sodalite/ansiblesmells .
sudo docker run -p 5000:5000 -d --name=anssAPI sodalite/ansiblesmells
sudo docker start anssAPI
sudo docker logs anssAPI
sudo docker stop anssAPI
sudo docker rm anssAPI
```

## Docker Image Building and Usage: TOSCA Smell Detector
```
sudo docker build -t sodalite/toscasmells .
sudo docker run -p 8080:8080 -d --name=tossAPI sodalite/toscasmells
sudo docker start tossAPI
sudo docker logs tossAPI
sudo docker stop tossAPI
sudo docker rm tossAPI
```
## Run Docker Compose

```
sudo docker-compose up
sudo docker image ls
```


0 comments on commit 9438e3a

Please sign in to comment.