jeffbritts / valet-install
Valet + installation and dev tools
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Shell
This package is auto-updated.
Last update: 2025-03-14 18:48:45 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