Skip to content

FriesPort/fp-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

薯条港博客

URL: https://blog.fp.ac.cn

快速重构开发环境

Windows

安装scoop

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression

安装基础软件

scoop bucket add extras
scoop install git hugo-extended go

MacOS

安装brew,使用下面的命令,或者使用pkg安装包安装。

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

安装基础软件

brew install hugo go git

配置git

配置提交用户和git代理

git config --global user.email "<Email>"
git config --global user.name "Vincent Zhong"
git config --global http.proxy "http://127.0.0.1:7890"

取消git代理

git config --global --unset http.proxy

配置hugo和blowfish

根据blowfish安装文档,运行草稿服务器,blowfish模块会自动下载。

hugo server -D

更新blowfish主题。

hugo mod get -u

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published