binshops / prestashop-dev-guide

Prestashop Developer Guide

Home Page:https://binshops.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prestashop Developer Guide

How to setup a fully ready Prestashop developing enviroment?

  • Binshops team recommendation set to help Prestashop developers setup a handy enviroment fast and easy.

  • This guide gets updated mostly based on developers' experience.

Setup An Ubuntu Running Machine

  1. Download and Install Ubuntu.

Install Softwares And Packages

  1. Apache
  2. MySQL
    1. Must create new user. root user can not be accessed remotely(in phpmyadmin)
  3. php7.4
  4. MySQL GUI (Choose one)
    1. phpMyAdmin
      1. Download zip
      2. Extract in /var/www/html/
      3. Grant all access to /phpmyadmin/ with this terminal command sudo chmod -R 777 /phpmyadmin/
    2. MySQL Workbench
  5. IDE (Choose one)
    1. Visual Studio Code
    2. PHP Storm
  6. Debugger(Choose one)
    1. Xdebug for Visual Studio Code
      1. sudo apt install php-xdebug
      2. sudo gedit /etc/php/7.4/mods-available/xdebug.ini
      3. add these lines and save:
        1. zend_extension=/usr/lib/php/20190902/xdebug.so
        2. xdebug.mode=debug
        3. xdebug.start_with_request=yes
      4. install php debug extension in vscode
      5. sudo service apache2 restart
    2. Xdebug for PHP Storm
  7. PhpPsInfo PrestaShop system requirements checker
  8. Git
  9. GitKraken

MAMP Setup on Mac using Port