Skip to content

Commit e087ab9

Browse files
authored
Test on version 9.0.2 (#10)
* Test on version 9.0.2 * Add blank line * Update .gitignore * Add blank line to docker-compose.yml
1 parent 3462321 commit e087ab9

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ config.xml
55
.*.swp
66
/www
77
/html
8-
/db
8+
/mysql_data
9+
/prestashop_data

common/templates/config_form.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898

9999
<label for="adv_link"><?= $module->l('Invitation delay', 'config_form'); ?></label>
100100
<div class="margin-form">
101-
<input id="adv_link" type="number" required min="0" name="invite_delay" value="<?= $module->escape($module->getConfigValue('INVITE_DELAY', 3)); ?>" style="width:50px">
101+
<input id="adv_link" type="number" required min="0" name="invite_delay" value="<?= $module->escape($module->getConfigValue('INVITE_DELAY', 3)); ?>" style="width:250px">
102102
<p class="preference_description">
103103
<?= $module->l('The invitation will be sent after the order has been marked as sent, and the configured amount of days has passed.', 'config_form'); ?>
104104
</p>
@@ -128,7 +128,7 @@
128128

129129
<label for="adv_link"><?= $module->l('Minimum order number', 'config_form'); ?></label>
130130
<div class="margin-form">
131-
<input id="adv_link" type="number" required min="1" name="invite_first_order_id" value="<?= $module->escape($module->getConfigValue('INVITE_FIRST_ORDER_ID', $module->getLastOrderId() + 1)); ?>" style="width:50px">
131+
<input id="adv_link" type="number" required min="1" name="invite_first_order_id" value="<?= $module->escape($module->getConfigValue('INVITE_FIRST_ORDER_ID', $module->getLastOrderId() + 1)); ?>" style="width:250px">
132132
<p class="preference_description">
133133
<?= $module->l('Invitations will be sent starting from this order number. On installation, this is set to the next order number.', 'config_form'); ?>
134134
</p>

docker-compose.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,36 @@
1-
version: '3'
21
services:
32
mysql:
43
container_name: prestashop-mysql
5-
image: mysql:8
6-
platform: linux/x86_64
4+
image: mysql:8.4
75
environment:
86
MYSQL_ROOT_PASSWORD: admin
97
MYSQL_DATABASE: prestashop
8+
volumes:
9+
- ./mysql_data:/var/lib/mysql
1010
networks:
1111
- prestashop_network
1212
prestashop:
1313
container_name: prestashop
1414
image: prestashop/prestashop:latest
15-
platform: linux/x86_64
1615
ports:
1716
- 19966:80
17+
volumes:
18+
- ./prestashop_data:/var/www/html
1819
environment:
1920
DB_SERVER: prestashop-mysql
2021
DB_NAME: prestashop
2122
DB_USER: root
2223
DB_PASSWD: admin
24+
PS_INSTALL_AUTO: 1
2325
PS_DOMAIN: localhost:19966
26+
PS_FOLDER_ADMIN: admin4577
27+
PS_FOLDER_INSTALL: install4577
28+
ADMIN_MAIL: admin@example.com
29+
ADMIN_PASSWD: admin123
2430
networks:
2531
- prestashop_network
2632
networks:
2733
prestashop_network:
34+
volumes:
35+
mysql_data:
36+
prestashop_data:

0 commit comments

Comments
 (0)