Deployment. #14
@@ -1,5 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
install_api_dependence() {
|
||||
cd api/ || exit 2
|
||||
composer install
|
||||
cd ..
|
||||
}
|
||||
|
||||
build_ui() {
|
||||
cd ui/ || exit 2
|
||||
npm run build
|
||||
@@ -23,4 +29,4 @@ composer_run() {
|
||||
docker-compose up -d
|
||||
}
|
||||
|
||||
build_ui && test_unit && composer_run && test_api
|
||||
install_api_dependence && build_ui && test_unit && composer_run && test_api
|
||||
Reference in New Issue
Block a user