No Description

κρμγ 77da3cd2e6 Update README.md 6 years ago
dav_ipfs 1968051797 empty dir hash changed 7 years ago
dav_multiuser_cmd 899b19b9a8 small refactoring 8 years ago
dav_test b089f5d78b сохранение и удаление свойств вместе с файлами, 8 years ago
ip2p_test 899b19b9a8 small refactoring 8 years ago
ipfs_api 2dc0b4914a context++++ 7 years ago
.gitignore 55ae98db9c multiuser support 8 years ago
.travis.yml 535d251c1a ci+++ 8 years ago
Dockerfile 810a11e258 context+++ 7 years ago
Dockerfile.arm 983936bd67 dockefile fix 8 years ago
LICENSE 6ddbcbf6a3 связка работает 8 years ago
README.md 77da3cd2e6 Update README.md 6 years ago

README.md

DEPRECATED

This package is deprecated since IPFS ver. 0.4.3 (i guess), because developers of IPFS had changed the semantics of /add method, that doesn't accept file body anymore.

mipfs (middleware for ipfs)

install ipfs

docker run -d --name ipfs_host --restart always -p 8080:8080 -p 4001:4001 -p 127.0.0.1:5001:5001 ipfs/go-ipfs:latest

docker run -it --volumes-from ipfs_host ipfs/go-ipfs:latest

docker restart ipfs_host

ipfs2webdav

git clone https://github.com/kpmy/mipfs.git

cd mipfs

docker build -t kpmy/mipfs:0.1 .

docker create --restart always --name ipfs_webdav --link ipfs_host:ipfs -p 0.0.0.0:6001:6001 kpmy/mipfs:0.1

docker start ipfs_webdav

how to

connect to webdav ipfs cadaver http://<addr>:6001/ipfs/

upload some files cadaver put /path/to/file

then look in browser http://<addr>:6001/hash

default user/password: root:changeme

add new user: curl -H "Content-Type: application/json" -d '{"login": "user", "password": "password"}' http://<host>:6001/user