Need better instructions to install ZeroBlog. Currently ZeroBlog doesn't install from git.
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 38/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- git
调研方向
从安装说明以及其中引用的 data-default、default.json、content.json 和 siteSign 步骤开始。复现文档中记录的克隆流程,然后将其与提议的 git clone 脚本进行比较。当说明能够明确地从 Git 创建新博客、解决对缺失文件的引用,并解释域名设置时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Your instructions ask to clone the 1BLog... site. But users should be able to install from git too, because that's how software is usually installed. There are also problems in instructions like there is no file default.json-default that instructions mention.
I am trying to write a script to clone from git, but it fails for unclear reason. zeronet siteSign skips data/users/content.json for some reason.
cd data/{your-new-site}
git clone https://github.com/HelloZeroNet/ZeroBlog.git &&
mv ZeroBlog/* . &&
rm -rf ZeroBlog &&
mv data-default data &&
mv data/users/content-default.json data/users/content.json
perl -pi -e "s/1BLogC9LN4oPDcruNz3qo1ysa133E9AGg8/`pwd | sed -e 's/.*\///g'`/g" content.json &&
perl -pi -e "s/\"domain.*//g" content.json &&
perl -pi -e "s/\"files\": \{\},/\"files\": {}, \"inner_path\": \"data\/users\/content.json\",/g" data/users/content.json
I think you need to make instructions to create a new blog easier, and they should start from "git clone". It is best to have a script cloning the github repository. You probably also want to remove "domain": "Blog.ZeroNetwork.bit" from contents.json because only you own it, and most people probably will not register a domain.
- 主要语言
- CSS
- 星标
- 141
- 派生
- 61
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
HelloZeroNet/ZeroBlog 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
HelloZeroNet/ZeroBlog#81 ·
-
难度 4/5 3-5 天 新手友好度 25/100
HelloZeroNet/ZeroBlog#72 ·
-
Github topics 未关闭
难度 1/5 1 小时以内 新手友好度 25/100
HelloZeroNet/ZeroBlog#65 ·
-
难度 5/5 一周以上 新手友好度 25/100
HelloZeroNet/ZeroBlog#62 ·
-
难度 4/5 3-5 天 新手友好度 25/100
HelloZeroNet/ZeroBlog#61 ·
查看 HelloZeroNet/ZeroBlog 的全部 Issue
相似的 Issue
-
content
难度 2/5 1-3 小时 新手友好度 75/100
GDQuest/learn-gdscript#1395 ·
-
rules
难度 1/5 1 小时以内 新手友好度 90/100
-
HttpClient
难度 2/5 1-3 小时 新手友好度 75/100
symfony/symfony-docs#23092 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
-
难度 1/5 1 小时以内 新手友好度 95/100
huggingface/sentence-transformers#4074 ·