Skip to content
Snippets Groups Projects
Commit ce03f5e1 authored by Diaz de Arcaya Serrano, Josu's avatar Diaz de Arcaya Serrano, Josu
Browse files

format code blocks as rst

parent 9672d005
Branches
No related tags found
No related merge requests found
...@@ -4,43 +4,34 @@ ...@@ -4,43 +4,34 @@
IaC Execution Manager IaC Execution Manager
********************* *********************
Running the server Running the server::
```bash
uvicorn main:app --reload uvicorn main:app --reload
```
###### Containers ###### Containers
Containerize the IEM Containerize the IEM::
```bash
docker build --build-arg API_KEY=$API_KEY -t optima-piacere-docker-dev.artifact.tecnalia.com/wp5/iem-api:y1 . docker build --build-arg API_KEY=$API_KEY -t optima-piacere-docker-dev.artifact.tecnalia.com/wp5/iem-api:y1 .
```
Similarly, docker compose can be used to build both::
docker-compose build
It can also be used to push them to the registry::
Similarly, docker compose can be used to build both docker-compose push
```bash
docker-compose build
```
It can also be used to push them to the registry Run the IEM::
```bash
docker-compose push
```
Run the IEM docker run -p 8000:8000 optima-piacere-docker-dev.artifact.tecnalia.com/wp5/iem-api:y1
```bash
docker run -p 8000:8000 optima-piacere-docker-dev.artifact.tecnalia.com/wp5/iem-api:y1
```
###### Tests ###### Tests
Run all tests Run all tests::
```bash nose2 -v
nose2 -v
```
Run a single test Run a single test::
```bash nose2 -v tests.core.test_iem.TestIem.test_deploy_destroy_openstack
nose2 -v tests.core.test_iem.TestIem.test_deploy_destroy_openstack
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment