Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

inowas/inowas_api

Repository files navigation

INOWAS API

SensioLabsInsight Build Status Coverage Status Code Climate MIT Licence

INSTALLATION WITH DOCKER

We are providing docker-container and a docker-compose-script to build the entire backend. Please clone the repo and create a .env-file.

cp .env.dist .env

adapt the folders and database-credentials to the data in

./app/config/parameters.yml

Then go to the docker-inowas-api folder and run

docker-compose up -d

Connect to the php-machine an run the relevant scripts:

docker-compose exec php bash

Install compose packages

composer install

Create database-tables

./build/build.on.docker.sh

Run migrations

cs inowas:es:migrate 1
cs inowas:es:migrate 2

API-DOCUMENTATION

The API-Documentation is the Swagger-File here: /spec/swagger.yaml

An easy way to render the Documentation with Sandbox is the swagger-editor online You can clone the repo and run

npm install
npm start