Renamed to ipfs-server and ipfs-publish

This commit is contained in:
Markus Fleschutz 2020-10-16 15:24:25 +00:00
parent 432e5e4d13
commit 32fdc51a45
2 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,11 @@
#!/bin/sh
#
# Usage: ipfs_publish <directory>
# NOTE: requires <ipfs> and <hashdeep>!
# Syntax: ./ipfs-publish <dir-tree>
# Description: publishes the given directory tree to IPDS
# Author: Markus Fleschutz
# Source: github.com/fleschutz/PowerShell
# License: CC0
# NOTE: requires <ipfs> and <hashdeep>
DIR=$1
IPFS_HASHES="IPFS_hash_list.txt"

View File

@ -1,5 +1,11 @@
#!/bin/sh
# Syntax: ./ipfs-server
# Description: starts an IPFS server
# Author: Markus Fleschutz
# Source: github.com/fleschutz/PowerShell
# License: CC0
ipfs init --profile server
ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001