servicebook-web/README.rst

56 строки
1.7 KiB
ReStructuredText
Исходник Обычный вид История

2016-12-21 13:11:39 +03:00
Service Book
============
2017-12-07 22:07:01 +03:00
.. image:: https://img.shields.io/badge/license-MPL%202.0-blue.svg
:target: https://github.com/mozilla/servicebook-web/blob/master/LICENSE.txt
:alt: License
2018-08-14 13:53:03 +03:00
.. image:: https://img.shields.io/circleci/project/github/mozilla/servicebook-web/master.svg?logo=circleci
:alt: CircleCI
:target: https://circleci.com/gh/mozilla/servicebook/tree/master
2018-08-14 13:57:31 +03:00
.. image:: https://img.shields.io/travis/mozilla/servicebook-web/master.svg?logo=travis
2017-02-08 13:17:50 +03:00
:target: https://travis-ci.org/mozilla/servicebook-web
:alt: Travis CI
2018-08-14 13:59:50 +03:00
.. image:: https://img.shields.io/coveralls/github/mozilla/servicebook-web/master.svg
2017-02-08 13:17:50 +03:00
:target: https://coveralls.io/github/mozilla/servicebook-web?branch=master
2017-12-07 22:07:01 +03:00
:alt: Coverage
2018-10-17 00:26:45 +03:00
.. image:: https://api.dependabot.com/badges/status?host=github&repo=mozilla/fxapom
:target: https://dependabot.com
:alt: Dependabot
2017-02-08 13:17:50 +03:00
2017-02-22 02:28:52 +03:00
Small dashboard that lists all QA projects, and displays their Swagger
2016-12-21 13:11:39 +03:00
documentation and everything we have about them.
Hacking on Service Book
-----------------------
By default Service Book will use http://localhost:5000/api/ as the endpoint. If
you want to use something else, you can set the `SERVICEBOOK` environment
variable. For example, set this to http://servicebook.dev.mozaws.net/api/ to
use the development environment. For convenience, you can store this locally in
a `.env` file.
2018-07-11 23:41:20 +03:00
To install the development environment and start Service Book locally::
$ pipenv install --dev
$ pipenv run servicebook
Running the tests
~~~~~~~~~~~~~~~~~
To run the tests::
$ tox
2016-12-21 13:11:39 +03:00
2017-02-22 02:28:52 +03:00
Run with Docker
2016-12-21 13:11:39 +03:00
---------------
There's a full deployment in Docker image.
2017-01-03 16:17:27 +03:00
2017-02-08 17:07:39 +03:00
To build it::
2017-01-03 16:17:27 +03:00
$ make docker-build
2016-12-21 13:11:39 +03:00
2017-02-08 17:07:39 +03:00
Then, to run it::
2016-12-21 13:11:39 +03:00
$ make docker-run
2016-12-21 13:11:39 +03:00
2017-12-07 22:12:15 +03:00
This will expose the Service Book on http://localhost:5000