OpenCart 3

Download opencart from https://www.opencart.com
Then extract it in your root web directory
Read install.txt file to setup and install opencart

Set the file permissions

 

Setup with Nginx

Here is the content

NOTE: don’t forget to create the log file in var/log/system.log
Then

Then

Insert this line:

Then check the nginx config and restart nginx

Set the files owner

Open it on your browser http://opencart3.test. For the first time, it’ll install OpenCart.
Note: Create a new database ‘opencart3’ with collation utf8-general-ci
Admin:
SORRY, ONLY ADMIN CAN SHOW THIS!
Then follow the instructions
NOTE: I also need to change the PHP setting in php.ini (IN THE opencart DIR). Change some settings like

admin url: http://opencart3.test/admin

opencart version 3.0.3.2 (/home/teddy/Documents/works/opencart-3.0.3.2/upload/index.php)

Create Apache2 Setting
CREATE A CONF

CONTENT

ENABLE THE VIRTUALHOST

RELOAD APACHE2

CREATE THE HOST

RELOAD APACHE2

RENAME config-dist.php AND admin/config-dist.php TO config.php TO admin/config.php
SET THE FILE PERMISSIONS & RELOAD APACHE2

Open: http://opencart3.test

SORRY, ONLY ADMIN CAN SHOW THIS!

Leave a Reply

Your email address will not be published. Required fields are marked *