build image hexo-user
make build
docker run
make start
1-1 download github blog source 第一次下載github source內部node_modules是空的,因此需要重新建立
git clone git@xxx/git-blog.git
hexo init blog-tmp
mv blog-tmp/node_modules git-blog
npm install
1-2 start web service
cd git-blog
hexo generate
hexo server -p 8000
Content type
Image
Digest
Size
86.3 MB
Last updated
almost 8 years ago
docker pull erwinchang/hexo