HelloZeroNet / HelloZeroNet/ZeroBlog

Need better instructions to install ZeroBlog. Currently ZeroBlog doesn't install from git.

Open
#24 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
CSS
Stars
141
Forks
61
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.