diff --git a/.circleci/config.yml b/.circleci/config.yml index 99bc8d1..afe4e69 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -65,7 +65,7 @@ jobs: workflows: version: 2 - cyberd_build: + default_workflow: jobs: - build_and_test: filters: @@ -75,10 +75,6 @@ workflows: <<: *master_filter requires: - build_and_test - - update_docs: - <<: *master_filter - requires: - - build_and_test - release_binaries: <<: *release_filter requires: diff --git a/.gitignore b/.gitignore index 6a28ca5..64a3770 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,4 @@ initial_guess_impact_results *.so *.o -cyberdcli \ No newline at end of file +cyber-wiki \ No newline at end of file diff --git a/README.md b/README.md index 0eb9398..65152d2 100644 --- a/README.md +++ b/README.md @@ -20,12 +20,29 @@ ## Usage +### Submit links Basically, there are two main functions provided by `cyber-wiki` tool. The first one is to parse wiki titles and submit links between keywords and wiki pages. ``` -submit-links-to-cyber enwiki-latest-all-titles --offset=0 --address=007 +submit-links-to-cyber /home/user/enwiki-latest-all-titles --address=cli_acc_y0y ``` +Here, **enwiki-latest-all-titles** is titles file obtained from + [official Wiki dumps](https://dumps.wikimedia.org/enwiki/latest/enwiki-latest-all-titles-in-ns0.gz). + +> Note: Uses only local cyber node. + +> Note: Submit links do not add duras to ipfs. + +### Uploading duras to IPFS +Also, `cyber-wiki` has separate command `upload-duras-to-ipfs` to upload files to local IPFS. +All duras are collected under single root unixfs directory. +``` +upload-duras-to-ipfs /home/user/enwiki-latest-all-titles +``` +> Note: We already upload duras. +They can be downloaded and pined on yor local node by **Qmdwsryu8HskLzBspzPwJbL8UZ1ZPZF8VemtW1ja1GMXGp** hash. + ## Issues If you have any problems with or questions about search, please contact us through a