Subida del módulo y tema de PrestaShop

This commit is contained in:
Kaloyan
2026-04-09 18:31:51 +02:00
parent 12c253296f
commit 16b3ff9424
39262 changed files with 7418797 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# Or: DOCKER_IMAGE_PRESTASHOP=prestashop/prestashop-flashlight:8.1.3-alpine
# DOCKER_IMAGE_PRESTASHOP=prestashop/prestashop-flashlight:1.7.7.8-7.3
# DOCKER_IMAGE_PRESTASHOP=prestashop/prestashop-flashlight:1.7.6.9-7.2
TUNNEL_NAME=<any_name>.<first_name>-<lastname>-mytun.prestashop.name
DOCKER_IMAGE_PRESTASHOP=prestashop/prestashop-flashlight:nightly
HOST_PORT_BIND_PRESTASHOP=8005
HOST_PORT_BIND_MYSQL=3307
HOST_PORT_BIND_PHP_MY_ADMIN=6065

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,11 @@
<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,25 @@
#!/bin/sh
#
# This is an init-script for prestashop-flashlight.
#
# Storing a folder in /var/www/html/modules is not enough to register the module
# into PrestaShop, hence why we have to call the console install CLI.
#
set -eu
error() {
printf "\e[1;31m%s\e[0m\n" "${1:-Unknown error}"
exit "${2:-1}"
}
# we also decide to clear the cache after the installation of the module
# because sometimes some issues occurs when trying to go to the configuration page of the module
ps_facebook_install() {
echo "* [ps_facebook] installing the module..."
[ ! -d "./modules/ps_facebook/vendor" ] && error "please install composer dependencies first" 2
php -d memory_limit=-1 bin/console prestashop:module --no-interaction install "ps_facebook"
php -d memory_limit=-1 bin/console cache:clear
}
# install modules
ps_facebook_install