composer和npm的国内镜像
vagrant box add metadata.json
bash init.sh
ssh-keygen
修改配置 文件以后
exit
vagrant reload --provision
cd sites
设置国内镜像:
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
多线程:
composer global require hirak/prestissimo
清理缓存
composer clearcache
composer create-project laravel/laravel task
nmp国内镜像
npm config set registry "https://registry.npm.taobao.org"
yarn install --no-bin-links