GitXplorerGitXplorer
b

sample-app

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
79f771a74f1467489b44dc0f532fbb2b68361632

Add paramiko dependency to README file

committed 6 years ago
Unverified
3dd94009a6e6cb8a5673f799ca354f2d87a9b764

Initial commit

committed 6 years ago

README

The README file for this repository.

MyApp micro service

A sample micro service returning static "Hello world" message.

Building and provisioning

Micro service runs as a Docker container created and deployed from inside Vagrant machine.

To build and run the micro service run:

git clone https://github.com/barlik/sample-app
cd sample-app

vagrant up

Running

After a successful build and deployment, the micro service will be available to use on http://192.168.100.2:80 (IP address configured in Vagrantfile). You can test the micro service by running:

curl http://192.168.100.2/

Executing automated tests

Tests make use of testinfra testing framework.

To install testinfra run:

pip install --user testinfra paramiko

To run tests against deployed docker container:

./run-tests

TODO

  • install and run testinfra from Vagrant VM