Skip to content

Commit

Permalink
OXDEV-7248 Update recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
hkreuter committed Feb 12, 2025
1 parent 0dab1ff commit 65c7b17
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes/setup-development.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ docker compose exec -T php vendor/bin/oe-console oe:database:reset --force
docker compose exec -T php vendor/bin/oe-console oe:module:activate oe_graphql_base
docker compose exec -T php vendor/bin/oe-console oe:theme:activate apex

$SCRIPT_PATH/parts/shared/create_admin.sh
email=${ADMIN_EMAIL:-noreply@oxid-esales.com}
password=${ADMIN_PASSWORD:-admin}
CONSOLE_PATH=$( [ -e "source/bin/oe-console" ] && echo "bin/oe-console" || echo "vendor/bin/oe-console" )
docker compose exec -T php ${CONSOLE_PATH} oe:admin:create "$email" "$password"

# Register all related project packages git repositories
mkdir -p .idea; mkdir -p source/.idea; cp "${SCRIPT_PATH}/parts/bases/vcs.xml.base" .idea/vcs.xml
Expand Down

0 comments on commit 65c7b17

Please sign in to comment.