1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
composer config -g --unset repos.packagist
composer config repo.packagist composer https://mirrors.aliyun.com/composer/
composer config --unset repos.packagist
npm config set registry https://registry.npmmirror.com
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update && apk upgrade
apk add openssh git
git config --global user.email "jarviscdr@outlook.com" git config --global user.name "Jarvis"
hexo s -p 10002
hexo g -w
hexo clean && hexo g -d
|