teambrain/Makefile
2023-10-04 16:25:17 +02:00

21 lines
568 B
Makefile
Executable File

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"
documentation:
echo "build mkdoc"
mkdocs build
test:
echo "run php tests"
phpunit
docker:
docker-compose up -d
echo "open http://0.0.0.0:8181"