반응형
Herd 명령어 리스트
completion Dump the shell completion script
composer Proxy Composer commands with isolated site's PHP executable
coverage Proxy PHP commands with isolated site's PHP executable and Xdebug code coverage enabled
debug Proxy PHP commands with isolated site's PHP executable and debug.ini loaded
directory-listing Determine directory-listing behavior. Default is off, which means a 404 will display.
edit Open the site in your favorite IDE
fetch-share-url Get the URL to the current share tunnel for Expose
forget [unpark] Remove the current working (or specified) directory from Herd's list of paths
help Display help for a command
isolate Change the version of PHP used by Herd to serve the current working directory
isolate-node Change the version of Node used by the CLI for the current working directory
isolated List all sites using isolated versions of PHP.
isolated-node List all sites using isolated versions of Node.
link Link the current working directory to Herd
links Display all of the registered Herd links
list List commands
log Tail log file
logs Show the log viewer UI for the given site
loopback Get or set the loopback address used for Herd sites
open Open the site for the current (or specified) directory in your browser
park Register the current working (or specified) directory with Herd
parked Display all the current sites within parked paths
paths Get all of the paths registered with Herd
php Proxy PHP commands with isolated site's PHP executable
proxies Display all of the proxy sites
proxy Create an Nginx proxy site for the specified host. Useful for docker, mailhog etc.
restart Restart the Herd services
secure Secure the given domain with a trusted TLS certificate
secured Display all of the currently secured sites
share Share the current site via an Expose tunnel
site-information Display information about the specified site
start Start the Herd services
stop Stop the Herd services
tinker Run tinker/Tinkerwell
tld [domain] Get or set the TLD used for Herd sites.
unisolate Stop customizing the version of PHP used by Herd to serve the current working directory
unisolate-node Stop customizing the version of Node used the CLI for the current working directory
unlink Remove the specified Herd link
unproxy Delete an Nginx proxy config.
unsecure Stop serving the given domain over HTTPS and remove the trusted TLS certificate
use Change the version of PHP used by Herd
which Display which Herd driver serves the current working directory
which-php Get the PHP executable path for a given site
터미널에서 프로젝트 폴더에 접속해서 아래 명령어 입력
herd secure
Restarting Nginx...
The [my-new-proejct.test] site has been secured with a fresh TLS certificate.
이후에 다시 접속해보면 됨.
'Laravel' 카테고리의 다른 글
Laravel > 원하는 버전으로 설치하기 (0) | 2024.08.21 |
---|---|
Laravel > Middleware > Role:admin > 미들웨어에서 사용자를 구분할려면? (0) | 2024.08.14 |
Tailwind > Typography 플로그인 (0) | 2024.07.11 |
Laravel > REST API 쉽게 구현해주는 패키지 (0) | 2024.07.11 |
Laravel > Soft Delete 구현하기 (실제로는 DB에 남아있음) (0) | 2024.06.30 |