jeffbritts/valet-install

There is no license information available for the latest version (1.0.3) of this package.

Valet + installation and dev tools

1.0.3 2021-07-14 12:44 UTC

This package is auto-updated.

Last update: 2024-04-18 14:22:57 UTC


README

#Valet Install

####A helper script for Magento 2 on a Valet + environment

#####Usage vp [action]

Actions:

-i Install Magento
-c Clean cache -r Reindex
-w Start cache-clean watcher

Cache Clean uses https://github.com/mage2tv/magento-cache-clean

#####What it does on install

  • deletes /app/etc/env.php
  • applies ece patches (if present)
  • drops and creates database
  • installs magento
  • runs upgrade, cleans cache, reindexes, sets developer mode

#####To use

  • composer require-dev jbritts/valet-install
  • run ./vendor/jeffbritts/valet-install/setup
  • If you dont have a local .env file : mv .env.sample .env and edit the appropriate values

####Grumphp configuration For module setup: add to modules composer.json , "config": { "bin-dir": "../../../../vendor/bin" } run in module root cp ../../../grumphp_module.yml grumphp.yml