Updated the README with install instructions

This commit is contained in:
Leo Arias 2017-12-03 16:31:42 +00:00
parent c6e54cdd80
commit 897fdd89d6
2 changed files with 36 additions and 1 deletions

View File

@ -1,2 +1,16 @@
# apt-transport-ipfs
IPFS transport for apt IPFS transport for apt

# Requirements

sudo apt install python3 pip
sudo pip3 install ipfsapi

# Install

Copy the ipfs file from this repo to the directory for apt transport methods:

sudo wget --output-file /usr/lib/apt/methods/ipfs https://raw.githubusercontent.com/JaquerEspeis/apt-transport-ipfs/master/ipfs

# Configure

Add to your apt sources.list file an IPFS mirror. TODO set up a mirror.

21
ipfs Normal file
View File

@ -0,0 +1,21 @@
#!/usr/bin/python3 -u
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*-
#
# Copyright (C) 2014-2015, 2017 Bashton Ltd
# Copyright (C) 2017 JaquerEspeis
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

# IPFS transport for apt.
# This is based on apt-transport-s3:
# https://github.com/BashtonLtd/apt-transport-s3