Skip to content

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

Open
@yurivict

Description

@yurivict

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions