1.0.0 • Published 4 years ago

lamia-shell v1.0.0

Weekly downloads
3
License
-
Repository
bitbucket
Last release
4 years ago

This is magento project repository of shell. All customizations done to Magento are here.

Setup

  • Clone repository to server to any directory
  • Copy content of directory to magento instance

Tech stack

  • Server type: nginx (1.8.1)
  • PHP version: 7.1
  • MySQL version: .5.7
  • Mcrypt version: 2.5.8
  • APC: disabled
  • Redis: enabled (2.2.7)
  • Memcached: disabled
  • PHP-FPM: enabled

Miscellaneous

  • Git branch: master
  • Home folder: /var/www/shell/html
  • Settings nginx: /home/shell/conf/nginx.conf
  • Settings nginx SSL: /home/shell/conf/nginx_ssl.conf
  • Settings PHP-FPM: /home/shell/conf/php-fpm.conf

Development tools - how to install and run

Warning: Before installing tools below, make sure you have "bin" directory in your root project dir
Phan needs installation of library AST. To install it, please run pecl install ast and add extension=ast.so to your php.init.
  • PHPUnit 6.4.3 - curl -L https://phar.phpunit.de/phpunit-6.4.3.phar -o bin/phpunit.phar; To run: php bin/phpunit.phar
  • Phan 0.8.9 - curl -L https://github.com/phan/phan/releases/download/0.8.9/phan.phar -o bin/phan.phar; To get list of all needed changes: php bin/phan.phar --progress-bar -f files -o analysis.txt To run: php bin/phan.phar
  • PHP-CS-Fixer - curl -L http://cs.sensiolabs.org/download/php-cs-fixer-v2.phar -o bin/php-cs-fixer.phar To get list of all needed changes: php bin/php-cs-fixer.phar fix --dry-run --config=.php_cs.dist --allow-risky=yes --verbose --diff-format=udiff To run and fix code styles: php bin/php-cs-fixer.phar fix --config=.php_cs.dist --allow-risky=yes --verbose