Heydays-cli
88 88 88
88 88 ""
88 88
88,dPPYba, ,adPPYba, 8b d8 ,adPPYba, 88 88
88P' "8a a8P_____88 `8b d8' aaaaaaaa a8" "" 88 88
88 88 8PP""""""" `8b d8' """""""" 8b 88 88
88 88 "8b, ,aa `8b,d8' "8a, ,aa 88 88
88 88 `"Ybbd8"' Y88' `"Ybbd8"' 88 88
d8'
d8'
A command line interface for Heydays
Installation
npm i -g heydays-cli
or use directly with npx
npx heydays-cli setup
Updating
npm update heydays-cli -g
Usage
Use hey to activate followed by your command.
ex: hey setup
Tasks
- WP setup
- Sanity setup
Development (local)
Run command
node index.js <cmd>
Run from different directory
node /path/to/hey-cli/index.js <cmd>
.env file
.env
DB_USER=<remote user>
DB_HOST=<remote host>
DB_NAME=<remote db>
DB_PASS=<remote pw>
SSH_HOST=<remote server host>
SSH_USER=<remote server user>
UPLOADS_PATH=<path to uploads directory> /assets/uploads
REMOTE_PATH=<full remote path to site root> /var/www/1/145590/www
LOCAL_DOMAIN=<domain>.test
––––––––––––––––––––––––––––––––––––––––––––––––––––––
Developed by Heydays