From 74af0a7b340747406390f7787ed5e9748bd8b4e0 Mon Sep 17 00:00:00 2001 From: David Trattnig <david.trattnig@o94.at> Date: Wed, 24 Jun 2020 10:28:01 +0200 Subject: [PATCH] Removed warnings. --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c515f2f..aebd4b7 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This project is based on a swagger-enabled Flask server using an *API First* app Python 3.7+ MariaDB (or similar Database) -# Setup +## Installation Install the required dependencies: @@ -21,39 +21,39 @@ pip3 install -r requirements.txt pip3 install -r contrib/mariadb-requirements.txt # Create database and user (change password in script) sudo mysql -u root -p < contrib/mariadb-database.sql - - ``` + ## Getting started To run the server, please execute the following from the root directory: -``` +```bash ./run.sh api ``` To run the API in an local development server execute: -``` +```bash ./run.sh api-dev ``` You can access the interactive documentation here: -``` +```bash http://localhost:8008/api/v1/ui/ ``` Your OpenAPI definition lives here: -``` +```bash http://localhost:8008/api/v1/openapi.json ``` ## Testing To launch the integration tests, use tox: -``` + +```bash sudo pip install tox ./run.sh test ``` -- GitLab