Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/controller/general/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func PrestaShop(projectName, platformVer string, isSampleData bool) {
host = hosts[0]["name"]
}

installCommand := "php install/index_cli.php " +
installCommand := "php install-dev/index_cli.php " +
"--domain=" + host + " " +
"--db_server=db " +
"--db_name=magento " +
Expand Down
10 changes: 5 additions & 5 deletions src/controller/prestashop/setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ func DownloadPrestashop(projectName, version string) {
"cd " + workdir + " " +
"&& rm -r -f " + workdir + "/download-presta123456789 " +
"&& mkdir " + workdir + "/download-presta123456789 " +
"&& wget -P ./download-presta123456789 https://github.com/PrestaShop/PrestaShop/releases/download/" + version + "/prestashop_" + version + ".zip " +
"&& unzip ./download-presta123456789/prestashop_" + version + ".zip -d ./download-presta123456789/" +
"&& rm ./download-presta123456789/prestashop_" + version + ".zip " +
"&& unzip ./download-presta123456789/prestashop.zip " +
"&& rm -r -f ./download-presta123456789 ",
"&& wget -P ./download-presta123456789 https://github.com/PrestaShop/PrestaShop/archive/refs/tags/" + version + ".tar.gz " +
"&& tar -xzf ./download-presta123456789/" + version + ".tar.gz -C " + workdir +
"&& mv ./PrestaShop-" + version + "/* " + workdir +
"&& rm -rf ./download-presta123456789 " +
"&& rm -rf ./PrestaShop-" + version,
}
cmd := exec.Command("docker", command...)
cmd.Stdin = os.Stdin
Expand Down