Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 83304ec Nov 9, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
routes
storage
tests
.env.example
.gitattributes
.gitignore
artisan
composer.json
composer.lock
package.json
phpunit
phpunit.xml
readme.md
server.php
site_deploy.sh
site_deploy_dev.sh
webpack.mix.js

readme.md

CartTest

Requirements

  • php >= 7.1
  • php-xdebug *
  • postgresql/mysql

Installation:

  1. cd /var/www/html (or your web root folder)
  2. git clone https://github.com/opiy-org/cart-test.git .
  3. composer install --no-dev or composer install *
  4. cp .env.example .env
  5. vi .env (or any other editor you prefer) **
  6. ./site_deploy.sh
  7. ./site_deploy_dev.sh *

*optional, if APP_ENV=local or staging (for generating ide heplers, api docs, running tests)

** configuration:

APP_ENV=local  - for local | staging - dev installation | production
APP_DEBUG=true | false
APP_LOG_LEVEL=debug | error

APP_URL=http://your.site.ru
SESSION_DOMAIN=your.site.ru

SESSION_LIFETIME=5 (minutes cart live)
SESSION_SECURE_COOKIE=true (if https)

DB_CONNECTION=pgsql | mysql

BROADCAST_DRIVER=redis | log | null
CACHE_DRIVER=redis | file
and so on...

You can’t perform that action at this time.