Skip to content

Instantly share code, notes, and snippets.

@uselessdev
Last active April 28, 2016 16:46
Show Gist options
  • Save uselessdev/7c11245c644f84c449b8ba76f5e441c6 to your computer and use it in GitHub Desktop.
Save uselessdev/7c11245c644f84c449b8ba76f5e441c6 to your computer and use it in GitHub Desktop.

Opencart

installation via clone

Installation steps

Using vagrant as serve

  • git clone git@github.com:opencart/opencart.git <store-name>
  • vagrant ssh && cd /vagrant/www/<store-name>/upload
  • cp config-dist.php config.php && cp admin/config-dist.php admin/config.php
  • sudo vhost {<store-name>.dev} | {/vagrant/www/<store-name>}/upload
  • swap
  • composer install
  • go to <store-name>.dev:8888

Opencart

Testando um sistema de ecommerce com opencart

Requisitos para uma loja simples

  • Pagarme, Cielo ou Moip
  • Correios

Instalação

  • Base: ./<opencart>/upload/

  • cd upload && cp config-dist.php config.php && cp admin/config-dist.php admin/config.php

  • Permissão de escrita:

     chmod 0755 or 0777 system/storage/cache/
     chmod 0755 or 0777 system/storage/logs/
     chmod 0755 or 0777 system/storage/download/
     chmod 0755 or 0777 system/storage/upload/
     chmod 0755 or 0777 system/storage/modification/
     chmod 0755 or 0777 image/
     chmod 0755 or 0777 image/cache/
     chmod 0755 or 0777 image/catalog/
     chmod 0755 or 0777 config.php
     chmod 0755 or 0777 admin/config.php
    
  • acesse o local e instale, depois deletar a pasta install


Extensões e artigos uteis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment