diff --git a/README.md b/README.md index 2172384..535745f 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ Putting Wikipedia Snapshots on IPFS and working towards making it fully read-wri - [Purpose](#purpose) - [How to add new Wikipedia snapshots to IPFS](#how-to-add-new-wikipedia-snapshots-to-ipfs) - - [Manual steps](#manual-steps) - - [Docker](#docker) + - [Manual build](#manual-build) + - [Docker](#docker-build) - [How to help](#how-to-help) - [Cohost a lazy copy](#cohost-a-lazy-copy) - [Cohost a full copy](#cohost-a-full-copy) @@ -49,7 +49,7 @@ The process can be nearly fully automated, however it consists of many stages and understanding what happens during each stage is paramount if ZIM format changes and our build toolchain requires a debug and update. -- [Manual steps](#manual-steps) are useful in debug situations, when specific stage needs to be executed multiple times to fix a bug. +- [Manual build](#manual-build) are useful in debug situations, when specific stage needs to be executed multiple times to fix a bug. - [mirrorzim.sh](#mirrorzim.sh) automates some steps for QA purposes and ad-hoc experimentation - [Docker build](#docker-build) is fully automated blackbox which takes ZIM file and produces CID and `IPFS_PATH` with datastore. @@ -61,7 +61,7 @@ easy as we want them to be. If you run into trouble, seek help through a github issue, commenting in the `#ipfs` channel on IRC, or by posting a thread on https://discuss.ipfs.io. -## Manual steps +## Manual build If you would like to create an updated Wikipedia snapshot on IPFS, you can follow these steps. diff --git a/mirrorzim.sh b/mirrorzim.sh index aa73430..854d447 100755 --- a/mirrorzim.sh +++ b/mirrorzim.sh @@ -108,9 +108,6 @@ node ./bin/run $TMP_DIRECTORY \ ${HOSTING_IPNS_HASH:+--hostingipnshash=$HOSTING_IPNS_HASH} \ ${MAIN_PAGE_VERSION:+--mainpageversion=$MAIN_PAGE_VERSION} -printf "\nAdding original ZIM to the root dir:\n" -cp -v ./snapshots/$ZIM_FILE $TMP_DIRECTORY - printf "\nAdding the processed tmp directory to IPFS: be patient (it takes a few hours), and keep this terminal open\n" CID=$(ipfs add -r --cid-version 1 --pin=false --offline -Qp $TMP_DIRECTORY) MFS_DIR="/${ZIM_FILE}_$(date +%F_%T)" diff --git a/src/site-transforms.ts b/src/site-transforms.ts index 9e474f3..885429c 100644 --- a/src/site-transforms.ts +++ b/src/site-transforms.ts @@ -79,7 +79,7 @@ export const includeSourceZim = ({ return } - cli.action.start(' Copying source ZIM to the root of unpacked version ') + cli.action.start(' Copying source ZIM to the root of unpacked zim directory ') copyFileSync(zimFile, zimCopy) cli.action.stop() }