2023-08-28 12:54:38 +02:00
|
|
|
default:
|
|
|
|
echo "installing teambrains dev tools"
|
|
|
|
pip install mkdocs
|
|
|
|
pip install mkdocs-material
|
|
|
|
echo "installing teambrains git submodules"
|
|
|
|
# https://git-scm.com/book/en/v2/Git-Tools-Submodules
|
|
|
|
git submodule add git@github.com:cogiway/faq2_api.git
|
|
|
|
git submodule add git@github.com:cogiway/faq2_example.git
|
|
|
|
git submodule add git@github.com:cogiway/faq2_model.git
|
|
|
|
git submodule init
|
|
|
|
echo "checking requirements"
|
2023-10-04 16:25:17 +02:00
|
|
|
documentation:
|
2023-08-28 12:54:38 +02:00
|
|
|
echo "build mkdoc"
|
2023-10-04 16:25:17 +02:00
|
|
|
mkdocs build
|
2023-08-28 12:54:38 +02:00
|
|
|
test:
|
|
|
|
echo "run php tests"
|
2023-10-04 16:25:17 +02:00
|
|
|
phpunit
|
2023-08-28 22:31:14 +02:00
|
|
|
docker:
|
|
|
|
docker-compose up -d
|
2023-10-04 16:25:17 +02:00
|
|
|
echo "open http://0.0.0.0:8181"
|