git-to-ipns

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2019 License: GPL-3.0 Imports: 24 Imported by: 0

README

Git to IPNS

Pipeline Status Go Report Card GoDoc

Takes a Git repository and throws it on IPNS.

Getting started

Dependencies

Building the program requires go, npm and ipfs. Don't forget to add ~/go/bin to your $PATH.

This project uses Hogan.js and go.rice. Their installation is scripted in scripts/dependencies.sh.

./scripts/dependencies.sh

Please note that npm requires root to install packages globally.

Running the program requires ipfs-cluster-ctl. Make sure ipfs-cluster-service is running, the cluster is healthy, and this peer is trusted by other peers.

Installation

To install this project, run scripts/install.sh.

./scripts/install.sh

It will publish the necessary files to IPFS, generate the templates and embed the web interface inside the binary.

Running

To run this project without installing it, run scripts/run.sh.

./scripts/run.sh

It will publish the necessary files to IPFS, generate the templates and embed the web interface inside the binary.

Building

To build this project, run scripts/cross-compile.sh.

./scripts/cross-compile.sh

It will publish the necessary files to IPFS, generate the templates, embed the web interface inside the binary, then compile the program for every single operating system and architecture supported by Go. Lots of them will fail, but the result is ready to be published.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL