-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(prestashop): fix some bugs in image (#17)
- Loading branch information
1 parent
7427a91
commit 5876d3b
Showing
8 changed files
with
78 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
install-cli() { | ||
h1 "Installing CLI dependencies" | ||
|
||
composer install --no-plugins --no-interaction --working-dir="/cli" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
#!/bin/bash | ||
|
||
export TMP_MODULES_DIR="/tmp/modules" | ||
export PS_MODULES_DIR="$ROOT_DIR/modules" | ||
|
||
for script in /tmp/scripts/_*; do source $script; done | ||
|
||
# Start php fpm in the background in advance. | ||
start-php-fpm | ||
|
||
install-cli | ||
install-prestashop | ||
install-modules | ||
|
||
add-preset-data | ||
|
||
reset-permissions | ||
|
||
clear-cache | ||
warmup-cache | ||
|
||
reset-permissions | ||
|
||
tail-logs | ||
|
||
h1 "🐧 PrestaShop is ready at ${FULL_URL} ✨" | ||
sleep infinity | ||
|
||
tail-logs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env sh | ||
|
||
cd "${ROOT_DIR}" || exit 1 | ||
|
||
# Some super hacky changes needed to be able to compile the scss of admin-dev/themes/new-theme with sass^1 :( | ||
sed -i 's/@extend a:hover;/@extend a, :hover;/' './admin-dev/themes/new-theme/node_modules/prestakit/scss/_breadcrumb.scss' || true | ||
sed -i 's/@extend .btn-primary:disabled;/@extend .btn-primary, :disabled;/' './admin-dev/themes/new-theme/node_modules/prestakit/scss/_custom-forms.scss' || true | ||
sed -i 's/ - 2;/;/' './admin-dev/themes/new-theme/node_modules/select2-bootstrap-theme/src/select2-bootstrap.scss' || true |