pythonasyncioapiasyncfastapiframeworkjsonjson-schemaopenapiopenapi3pydanticpython-typespython3redocreststarletteswaggerswagger-uiuvicornweb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
405 B
15 lines
405 B
#! /usr/bin/env bash
|
|
|
|
# Exit in case of error
|
|
set -e
|
|
|
|
docker-compose down -v --remove-orphans # Remove possibly previous broken stacks left hanging after an error
|
|
|
|
if [ $(uname -s) = "Linux" ]; then
|
|
echo "Remove __pycache__ files"
|
|
sudo find . -type d -name __pycache__ -exec rm -r {} \+
|
|
fi
|
|
|
|
docker-compose build
|
|
docker-compose up -d
|
|
docker-compose exec -T backend bash scripts/tests-start.sh "$@"
|
|
|