Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dasscheman committed Jun 21, 2024
1 parent bda6fa4 commit 15c096b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions docker/backend-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
echo " ⭐️️️️️⭐️️️️️⭐️️️️️⭐️ VERSIE: 1 "
# run artisan migrate & seed
ls -la /var/www
if [ "$APP_ENV" = "local" ]; then
## in de dockerfile worden de dev packages verwijderd, dus die moeten we eerst installeren
php composer.phar install
#if [ "$APP_ENV" = "local" ]; then
# ## in de dockerfile worden de dev packages verwijderd, dus die moeten we eerst installeren
# php composer.phar install

echo "⭐️ Run artisan migrate";
php artisan migrate --seed

echo "⭐️ generate key";
php artisan key:generate
fi
# echo "⭐️ generate key";
# php artisan key:generate
#fi
php-fpm
2 changes: 1 addition & 1 deletion docker/docker.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_HOST=mariadb
DB_HOST=mariadb-sample
DB_PORT=3306
DB_DATABASE=development
DB_USERNAME=development
Expand Down
2 changes: 1 addition & 1 deletion openshift/scripts/sample-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ create_app() {

# Function to create the list of resource yamls
delete_app() {
search_dir=..
search_dir=../sample
for entry in "$search_dir"/*
do
echo "$entry"
Expand Down

0 comments on commit 15c096b

Please sign in to comment.