mirror of https://github.com/embarklabs/embark.git
Created Releasing_to_IPFS (markdown)
parent
db14deabef
commit
78c0991167
|
@ -0,0 +1,38 @@
|
|||
### Requirements
|
||||
|
||||
You'll need to have [IPFS](http://ipfs.io/) installed.
|
||||
|
||||
```shell
|
||||
go get -u github.com/ipfs/go-ipfs/cmd/ipfs
|
||||
```
|
||||
|
||||
### Releasing to IPFS
|
||||
|
||||
First you'll need IPFS running in the background.
|
||||
```shell
|
||||
ipfs daemon
|
||||
```
|
||||
|
||||
Then to release your app simply do
|
||||
|
||||
```shell
|
||||
embark ipfs
|
||||
```
|
||||
|
||||
Embark will inform you in what urls the DApp is available
|
||||
|
||||
### Releasing to IPFS a DApp that uses the Tesnet
|
||||
|
||||
Once you have the testnet chain configured in one of your environments (usually ```staging``` in ```config/blockchain```, you can then easily deploy using:
|
||||
|
||||
```shell
|
||||
embark blockchain staging
|
||||
```
|
||||
|
||||
in one console, followed by
|
||||
|
||||
```shell
|
||||
embark ipfs staging
|
||||
```
|
||||
|
||||
in another console.
|
Loading…
Reference in New Issue