【文件属性】:
文件名称:Blog:我的博客的源代码
文件大小:874KB
文件格式:ZIP
更新时间:2021-03-27 08:00:38
HTML
开发环境
抽象的
在docker映像中预览并部署hexo博客。
初始化
# Set the hexo blog root directory
BlogDir= ~ /Blog
# Create the preview container
docker create --name hexo-server \
-p 4000:4000 \
-v $BlogDir /_config.yml:/website/_config.yml:ro \
-v $BlogDir /source:/website/source:ro \
-v $BlogDir /themes:/website/themes:ro \
sjj118/hexo hexo server
# Create the deploy container
docker create --name hexo-deploy -t \
-v $Bl
【文件预览】:
Blog-master
----source()
--------draft()
--------img()
--------CNAME(16B)
--------LICENSE(11KB)
--------404.html(127B)
--------files()
--------_posts()
----LICENSE(11KB)
----README.md(1KB)
----.gitignore(66B)
----_config.yml(2KB)
----themes()
--------CleanBlog()