stack
stack copied to clipboard
app-install.sh laravel 7, 8, 9 지원
composer 로 설치하는 방법은 기존과 비슷한데, --prefer-dist 옵션만 추가됨
https://laravel.com/docs/8.x#via-composer-create-project
composer create-project --prefer-dist laravel/laravel blog
https://getcomposer.org/doc/03-cli.md
--prefer-dist: Reverse of --prefer-source, Composer will install from dist if possible. This can speed up installs substantially on build servers and other use cases where you typically do not run updates of the vendors. It is also a way to circumvent problems with git if you do not have a proper setup.
- [ ] laravel 1개로 통합하고
--app_version=9.0형태로 버전 변수 옵션 입력 검토- 버전별 nginx 설정이 비슷함. https://laravel.com/docs/9.x/deployment#nginx
- [ ] 계정마다 php 및 composer 버전 다르게 할 방향 검토