Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Commit

Permalink
updated readme.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekziade committed Feb 8, 2017
1 parent 1c425c3 commit f97d6dc
Showing 1 changed file with 8 additions and 21 deletions.
29 changes: 8 additions & 21 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,19 @@ Small dashboard that lists all QA projects, and displays their swagger
documentation and everything we have about them.


Running locally
Run with docker
---------------

There's a full deployment in Docker image in the docker/ directory.

To run the Service Book, edit **serviceweb.ini** so
the **service_book** variable in the common section points
to the running Service Book, then:
To build it::

Create a local virtualenv, install requirements, initialize the DB
then run the service::
$ cd docker
$ make docker

$ virtualenv .
$ bin/pip install -r requirements.txt
$ bin/python setup.py develop
$ bin/serviceweb


Running with Docker
-------------------

Make sure you have a **servicebook/dev** Docker image built in your Docker.
Then Edit **serviceweb.ini** so the **service_book** variable is **http://servicebook:5001/api/**

Last, use docker-compose::

$ docker-compose up
Then, to run it::

$ make run

This will expose the service book on http://localhost:5000

0 comments on commit f97d6dc

Please sign in to comment.