Giter Club home page Giter Club logo

prestashop-docker's Introduction

PrestaShop using Apache, Mysql, PhpMyAdmin with Docker Compose

A simple dockerized version using PrestaShop using Apache, MySQL and phpMyAdmin. This project is based on Prestashop and nginx-prestashop. I make it for my Prestashop development, avoid some prestashop issues related to Nginx.

This project support Prestashop version 1.6.x and 1.7.x. To download specific version, please edit it in the file install-prestashop.1.6.sh or install-prestashop.1.7.sh

Installation

Prerequisite:

  • Docker and Docker-compose are installed on your system.
  • You have cloned this repository.

Here are the steps to get started:

  1. Change into directory:
cd prestashop-docker

Your directory should now look like this:

.
├── docker-compose.yml
├── docker-images
│   ├── apache
│   │   ├── Dockerfile
│   │   └── php.ini
|   │   └── docker_run.sh
|   |   └── docker_updt_ps_domains.php
├── install-prestaShop1.6.sh
├── install-prestaShop1.7.sh
├── LICENSE
└── README.md
  1. Download prestashop project to the current directory by running bash file. Example: To install prestashop 1.6, run this command:
   ./install-prestashop.1.6.sh 
  1. Config database, admin credential in the .env file.
   DB_SERVER=mysql 
   DB_PORT=3306 
   DB_NAME=prestashop 
   DB_USER=prestashop 
   DB_PASSWD=prestashop 
   DB_PREFIX=ps_ 
   DB_ROOT_PASSWD=root
   PS_DOMAIN=localhost
   [email protected] 
   ADMIN_PASSWD=admin 
   PS_LANGUAGE=en 
   PS_COUNTRY=GB 
   PS_INSTALL_AUTO=1 # Set 0 if you want to to show install page at the first time access to the website.
   PS_ERASE_DB=1
   PS_DEV_MODE=0 
   PS_HOST_MODE=0 
   PS_HANDLE_DYNAMIC_DOMAIN=0 
   PS_FOLDER_ADMIN=admin 
   PS_FOLDER_INSTALL=install

  1. Start your PrestaShop using docker-compose up.

Licensing

prestashop-docker is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

prestashop-docker's People

Contributors

landsman avatar pxson2903 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

prestashop-docker's Issues

limits the maximum number of fields allowed in a form

Thank you for this repository. You saved me such a lot time!
I found just one issue of php limits settings.

Warning! Your PHP configuration limits the maximum number of fields allowed in a form
1000 for max_input_vars.
Please ask your hosting provider to increase this limit to 1938 at least, or you will have to edit the translation files.

In case of manual module translation (https://www.leotheme.com/blog/prestashop/272-how-to-translate-prestashop-1-6-theme-and-modules.html)

Screenshot from 2019-03-21 22-20-33

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.