This repository aims to improve the overall maturity of the PrestaShop open source project.
It contains:
- source code and content for www.prestashop-project.org
- materials about the open source project evolution
- Clone the repository somewhere on your system:
git clone --recurse-submodules https://github.com/PrestaShop/open-source.git
Note normal cloning will not work. You must recurse the submodules or hugo will not understand shortcodes and you will see errors such as:
failed to extract shortcode: template for shortcode "children" not found
-
Switch to the
open-source
directory:cd open-source
-
Install Hugo (optional if already installed):
./bin/installHugo.sh
-
Launch Hugo:
hugo server
If you do not want to install Hugo on your system, you can use the provided docker-compose.yml
file to run the site in a container.
-
Clone the repository (with submodules):
git clone --recurse-submodules https://github.com/PrestaShop/open-source.git
-
Switch to the
open-source
directory:cd open-source
-
Use the following command to start the Hugo server:
docker-compose up
By default, the server will run on port
1313
. You can specify a different port by setting theHUGO_SERVER_PORT
environment variable before running the command. For example:HUGO_SERVER_PORT=3000 docker-compose up
-
Access the site in your browser at
http://localhost:<PORT>
, replacing<PORT>
with the port you defined (default is1313
).