mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-22 21:58:42 +01:00
Renamed to ipfs-server and ipfs-publish
This commit is contained in:
parent
432e5e4d13
commit
32fdc51a45
@ -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"
|
@ -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
|
Loading…
Reference in New Issue
Block a user