Skip to content

Installation Instructions

WMESN edited this page Sep 14, 2023 · 2 revisions

Before Installation

1. Edit httpd.conf

2. create db_root_password.txt

Create the file "db_root_password.txt" with the password used to connect to the Database. The password will be loaded into the docker compose .yaml file as a secret

Edit the file config-files/apache2/httpd.conf and uncomment the "timeout 600" line. This timeout has to be set during installation otherwise it will lead to gateway timeouts.

During Installation

1. Start the container

docker compose up -d

2. Access domain

... and follow the installation steps

3 Installation step: Modules

A list of recommended modules can be found here

4. Installation step: Database setup

When asked for a MySQL server, type presta-mysql, as declared in your yaml file. When asked for MySQL user, use root, as declared in your yaml file. When asked for MySQL password, use admin, as declared in your yaml file.

After Installation

1. Remove /install

After the installation you have to remove the install directory for security reasons. To delete the install directory in you container run the following command docker exec -i prestashop rm -rf install

2. Edit the httpd.conf file

Before you can make changes to config files you have to shutdown the running containers. docker compose down afterwardscomment/ Now you comment in/ delete the "timeout 600" line to remove the timeout. Start back the container after making your config change docker compose up -d

3 Access the Backoffice

The backoffice can be reached under /administrator simply login with the account you created during the installation step