mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Merge pull request #112 from oceanprotocol/feature/barge
docker-images -> barge
This commit is contained in:
commit
637c91e0cb
@ -6,8 +6,8 @@ description: Do a quick test drive.
|
|||||||
You can run and try every [Ocean software component](/concepts/components/) in your local machine, all at once, using Docker Compose:
|
You can run and try every [Ocean software component](/concepts/components/) in your local machine, all at once, using Docker Compose:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/oceanprotocol/docker-images.git
|
git clone https://github.com/oceanprotocol/barge.git
|
||||||
cd docker-images/
|
cd barge/
|
||||||
|
|
||||||
./start_ocean.sh --latest
|
./start_ocean.sh --latest
|
||||||
```
|
```
|
||||||
@ -22,6 +22,6 @@ Once everything is up and running, you can interact with the components. For exa
|
|||||||
|
|
||||||
Note that everything is running on your local machine, including a local Ethereum node, and it's not connected to any external Ethereum network.
|
Note that everything is running on your local machine, including a local Ethereum node, and it's not connected to any external Ethereum network.
|
||||||
|
|
||||||
For the details of what components are running, see the [Ocean Protocol docker-images repository](https://github.com/oceanprotocol/docker-images).
|
For the details of what components are running, see the [Ocean Protocol barge repository](https://github.com/oceanprotocol/barge).
|
||||||
|
|
||||||
<repo name="docker-images"></repo>
|
<repo name="barge"></repo>
|
||||||
|
@ -130,8 +130,8 @@ Inline `code` has `back-ticks around` it.
|
|||||||
Blocks of code are either fenced by lines with three back-ticks, or are indented with four spaces. I recommend only using the fenced code blocks -- they're easier and only they support syntax highlighting.
|
Blocks of code are either fenced by lines with three back-ticks, or are indented with four spaces. I recommend only using the fenced code blocks -- they're easier and only they support syntax highlighting.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/oceanprotocol/docker-images.git
|
git clone https://github.com/oceanprotocol/barge.git
|
||||||
cd docker-images/
|
cd barge/
|
||||||
|
|
||||||
./start_ocean.sh --latest
|
./start_ocean.sh --latest
|
||||||
```
|
```
|
||||||
|
@ -34,7 +34,7 @@ If you're running a local Ganache-based testnet, then it creates several account
|
|||||||
|
|
||||||
### Get Ether for a Local Parity-Ethereum-Based Testnet
|
### Get Ether for a Local Parity-Ethereum-Based Testnet
|
||||||
|
|
||||||
If you're running a local Parity-Ethereum-based testnet based on [docker-images](https://github.com/oceanprotocol/docker-images), then you can send some Ether to `<YOUR ADDRESS>` using the command:
|
If you're running a local Parity-Ethereum-based testnet based on [barge](https://github.com/oceanprotocol/barge), then you can send some Ether to `<YOUR ADDRESS>` using the command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl --data '{"jsonrpc":"2.0","method":"personal_sendTransaction","params":[{"from":"0x00Bd138aBD70e2F00903268F3Db08f2D25677C9e","to":"<YOUR ADDRESS>","value":"0x7FFFFFFFFFFFFFFFFFF"}, "node0"],"id":0}' -H "Content-Type: application/json" -X POST localhost:8545
|
curl --data '{"jsonrpc":"2.0","method":"personal_sendTransaction","params":[{"from":"0x00Bd138aBD70e2F00903268F3Db08f2D25677C9e","to":"<YOUR ADDRESS>","value":"0x7FFFFFFFFFFFFFFFFFF"}, "node0"],"id":0}' -H "Content-Type: application/json" -X POST localhost:8545
|
||||||
@ -46,6 +46,6 @@ That command uses [Ethereum's JSON RPC API](https://wiki.parity.io/JSONRPC.html)
|
|||||||
|
|
||||||
One way to get some Ocean Tokens, for the network you're connected to, is by running Pleuston (a demo Ocean marketplace web app) and then clicking in the top right corner of the Pleuston user interface. If you see "Make it rain" then click that.
|
One way to get some Ocean Tokens, for the network you're connected to, is by running Pleuston (a demo Ocean marketplace web app) and then clicking in the top right corner of the Pleuston user interface. If you see "Make it rain" then click that.
|
||||||
|
|
||||||
Running Pleuston, along with all the software it needs to work, is beyond the scope of this tutorial. If you want to do _that_, then the current best option is to use the scripts and Docker Compose files in the [🐳 docker-images repository](https://github.com/oceanprotocol/docker-images).
|
Running Pleuston, along with all the software it needs to work, is beyond the scope of this tutorial. If you want to do _that_, then the current best option is to use the scripts and Docker Compose files in the [🐳 barge repository](https://github.com/oceanprotocol/barge).
|
||||||
|
|
||||||
<repo name="docker-images"></repo>
|
<repo name="barge"></repo>
|
||||||
|
@ -9,7 +9,7 @@ description: This tutorial shows how you can build a basic [React](https://react
|
|||||||
- `npm` >= 5.2 is installed. You can check using `npm -v`
|
- `npm` >= 5.2 is installed. You can check using `npm -v`
|
||||||
- Do the tutorial to [Set Up Azure Storage](/tutorials/azure-for-brizo/).
|
- Do the tutorial to [Set Up Azure Storage](/tutorials/azure-for-brizo/).
|
||||||
- Use a browser with [MetaMask](https://metamask.io/) and some Ether in your account. See the tutorial about [getting Ether and Ocean Tokens for testnets](/tutorials/get-ether-and-ocean-tokens/).
|
- Use a browser with [MetaMask](https://metamask.io/) and some Ether in your account. See the tutorial about [getting Ether and Ocean Tokens for testnets](/tutorials/get-ether-and-ocean-tokens/).
|
||||||
- Git clone the [oceanprotocol/docker-images](https://github.com/oceanprotocol/docker-images) repository, then in that directory:
|
- Git clone the [oceanprotocol/barge](https://github.com/oceanprotocol/barge) repository, then in that directory:
|
||||||
- Edit the `brizo.env` file and set all `AZURE_`... values.
|
- Edit the `brizo.env` file and set all `AZURE_`... values.
|
||||||
- Run `./start_ocean.sh --no-pleuston --local-kovan-node`. This runs several Ocean services locally, including a local Parity Ethereum node connected to the Kovan Testnet.
|
- Run `./start_ocean.sh --no-pleuston --local-kovan-node`. This runs several Ocean services locally, including a local Parity Ethereum node connected to the Kovan Testnet.
|
||||||
|
|
||||||
|
@ -19,9 +19,9 @@ const QuickRun = ({ name }) => (
|
|||||||
<pre className="language-bash">
|
<pre className="language-bash">
|
||||||
<code className="language-bash">
|
<code className="language-bash">
|
||||||
<span className="token function">git</span> clone
|
<span className="token function">git</span> clone
|
||||||
https://github.com/oceanprotocol/docker-images.git
|
https://github.com/oceanprotocol/barge.git
|
||||||
<br />
|
<br />
|
||||||
<span className="token function">cd</span> docker-images/
|
<span className="token function">cd</span> barge/
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
./start_ocean.sh --latest
|
./start_ocean.sh --latest
|
||||||
|
@ -32,7 +32,7 @@ const Repositories = () => (
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.repositories}>
|
<div className={styles.repositories}>
|
||||||
<QuickRun name="docker-images" />
|
<QuickRun name="barge" />
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<h1 className={styles.repositoriesTitle}>
|
<h1 className={styles.repositoriesTitle}>
|
||||||
|
Loading…
Reference in New Issue
Block a user