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
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