Skip to content

Commit

Permalink
Merge branch 'main' into strict1
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano authored Feb 6, 2024
2 parents 067a2ee + 208165c commit f561888
Show file tree
Hide file tree
Showing 242 changed files with 1,682 additions and 2,398 deletions.
27 changes: 27 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -1418,6 +1418,33 @@
"contributions": [
"code"
]
},
{
"login": "leissbua",
"name": "Michael Leiss",
"avatar_url": "https://avatars.githubusercontent.com/u/68073221?v=4",
"profile": "https://github.com/leissbua",
"contributions": [
"code"
]
},
{
"login": "massa-man",
"name": "Marcos Steverlynck",
"avatar_url": "https://avatars.githubusercontent.com/u/26821235?v=4",
"profile": "https://www.riseart.com/",
"contributions": [
"code"
]
},
{
"login": "ahudock",
"name": "Andy Hudock",
"avatar_url": "https://avatars.githubusercontent.com/u/33500977?v=4",
"profile": "https://github.com/ahudock",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7
Expand Down
16 changes: 15 additions & 1 deletion .ddev/commands/web/openmage-install
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ while :; do
shift
done

echo "Enable maintenance mode..."
touch maintenance.flag

LOCALXML="${ROOT}/app/etc/local.xml"
if [ -f "${LOCALXML}" ]; then
if [[ "${QUIET_INSTALL_FLAG}" ]]; then
Expand Down Expand Up @@ -87,11 +90,15 @@ if [[ $INSTALL_SAMPLE_DATA =~ ^(yes|y) ]]; then
echo "Copying Sample Data into the OpenMage directory..."
cp -r magento-sample-data-1.9.2.4/* "${ROOT}/"

echo "Clearing var/cache..."
rm -rf "${ROOT}/var/cache/"*

echo "Importing Sample Data into the database..."
mysql -u db -h db db < "${SAMPLE_DATA_DIRECTORY}/magento-sample-data-1.9.2.4/magento_sample_data_for_1.9.2.4.sql"

# remove sample data
if [[ "${SAMPLE_DATA_KEEP_FLAG}" ]]; then
# shellcheck disable=SC2046
rm -rf $(
find . -maxdepth 1 -type f -name "*" ! -name "${SAMPLE_DATA_FILE}")
else
Expand All @@ -108,7 +115,11 @@ if [[ "${USE_DEFAULT_FLAG}" ]]; then
ADMIN_LASTNAME='Administrator'
ADMIN_EMAIL='admin@example.com'
ADMIN_PASSWORD='veryl0ngpassw0rd'
TABLE_PREFIX='om_'
if [[ "${SAMPLE_DATA_FLAG}" ]]; then
TABLE_PREFIX=''
else
TABLE_PREFIX='om_'
fi
else
read -r -p "Admin User [admin]: " ADMIN_USER
ADMIN_USER=${ADMIN_USER:-admin}
Expand Down Expand Up @@ -152,3 +163,6 @@ php -f install.php -- \
--default_currency 'USD' \
--enable_charts 'yes' \
--skip_url_validation 'yes'

echo "Disable maintenance mode..."
rm maintenance.flag
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

open_collective: openmage
679 changes: 0 additions & 679 deletions .github/changelog/version_19.txt

This file was deleted.

357 changes: 0 additions & 357 deletions .github/changelog/version_20.txt

This file was deleted.

Loading

0 comments on commit f561888

Please sign in to comment.