Für den Anfang wird eine einfache Bash-Datei zum Deployment benutzt.

This commit is contained in:
2021-04-16 21:58:54 +02:00
parent ec22f42623
commit 65195e702e
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/env bash
build_ui() {
cd ui/ || exit 2
npm run build
cd ..
}
test_unit() {
pwd
cd api/ || exit 2
./vendor/bin/codecept run unit
cd ..
}
test_api() {
cd api/ || exit 2
./vendor/bin/codecept run api
cd ..
}
composer_run() {
docker-compose up -d
}
build_ui && test_unit && composer_run && test_api