Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
35e2338d
Commit
35e2338d
authored
10 years ago
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update installation instructions and update usage to most recent
parent
afd66802
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
36 deletions
+36
-36
README.md
README.md
+36
-36
No files found.
README.md
View file @
35e2338d
...
...
@@ -14,12 +14,10 @@ Please put all issues regarding go IPFS _implementation_ in [this repo](https://
## Install
[
Install Go 1.3+
](
http://golang.org/doc/install
)
. Then:
[
Install Go 1.3+
](
http://golang.org/doc/install
)
. Then
simply
:
```
go get github.com/jbenet/go-ipfs/cmd/ipfs
cd $GOPATH/src/github.com/jbenet/go-ipfs/cmd/ipfs
go install
go get -u github.com/jbenet/go-ipfs/cmd/ipfs
```
NOTES:
...
...
@@ -38,41 +36,43 @@ dependencies as well.
## Usage
```
ipfs - global versioned p2p merkledag file system
Basic commands:
init Initialize ipfs local configuration.
add <path> Add an object to ipfs.
cat <ref> Show ipfs object data.
ls <ref> List links from an object.
refs <ref> List link hashes from an object.
Tool commands:
config Manage configuration.
update Download and apply go-ipfs updates.
version Show ipfs version information.
commands List all available commands.
Advanced Commands:
mount Mount an ipfs read-only mountpoint.
serve Serve an interface to ipfs.
net-diag Print network diagnostic
Plumbing commands:
block Interact with raw blocks in the datastore
object Interact with raw dag nodes
Use "ipfs help <command>" for more information about a command.
ipfs - global p2p merkle-dag filesystem
ipfs [<flags>] <command> [<arg>] ...
Basic commands:
init Initialize ipfs local configuration
add <path> Add an object to ipfs
cat <ref> Show ipfs object data
ls <ref> List links from an object
Tool commands:
config Manage configuration
update Download and apply go-ipfs updates
version Show ipfs version information
commands List all available commands
id Show info about ipfs peers
Advanced Commands:
daemon Start a long-running daemon process
mount Mount an ipfs read-only mountpoint
serve Serve an interface to ipfs
diag Print diagnostics
Plumbing commands:
block Interact with raw blocks in the datastore
object Interact with raw dag nodes
Use 'ipfs <command> --help' to learn more about each command.
```
## Getting Started
To start using ipfs, you must first initialize ipfs's config files on your
system, this is done with
`ipfs init`
. See
`ipfs
help init
`
for information on
system, this is done with
`ipfs init`
. See
`ipfs
init --help
`
for information on
the optional arguments it takes. After initialization is complete, you can use
`ipfs mount`
,
`ipfs add`
and any of the other commands to explore!
...
...
@@ -90,7 +90,7 @@ Basic proof of 'ipfs working' locally:
### Troubleshooting
If you have previously installed ipfs before and you are running into
problems getting a newer version to work, try deleting (or backing up somewhere
else) your config directory (~/.go-ipfs by default) and rerunning
`ipfs init`
.
else) your
ipfs
config directory (~/.go-ipfs by default) and rerunning
`ipfs init`
.
This will reinitialize the config file to its defaults and clear out the local
datastore of any bad entries.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment