barge/README.md

93 lines
3.1 KiB
Markdown
Raw Normal View History

2018-08-10 14:30:25 +02:00
[![banner](doc/img/repo-banner@2x.png)](https://oceanprotocol.com)
<h1 align="center">docker-images</h1>
2018-09-19 18:52:52 +02:00
> 🐳 Docker compose and tools running the complete Ocean Protocol network stack.
2018-08-10 14:30:25 +02:00
> [oceanprotocol.com](https://oceanprotocol.com)
2018-09-19 18:52:52 +02:00
---
**🐲🦑 THERE BE DRAGONS AND SQUIDS. This is in alpha state and you can expect running into problems. If you run into them, please open up [a new issue](https://github.com/oceanprotocol/docker-images/issues). 🦑🐲**
---
2018-08-10 14:30:25 +02:00
## Table of Contents
2018-09-19 18:52:52 +02:00
* [Prerequisites](#prerequisites)
2018-08-16 12:20:54 +02:00
* [Get Started](#get-started)
2018-09-19 18:52:52 +02:00
* [Ocean Protocol components](#ocean-protocol-components)
- [Versions](#versions)
2018-08-16 12:20:54 +02:00
* [Contributing](#contributing)
* [License](#license)
2018-08-10 14:30:25 +02:00
---
2018-09-19 18:52:52 +02:00
## Prerequisites
2018-08-16 12:20:54 +02:00
2018-09-19 18:52:52 +02:00
You need to have the newest versions available of both:
2018-08-13 15:12:21 +02:00
* [Docker](https://www.docker.com/get-started)
* [Docker Compose](https://docs.docker.com/compose/)
2018-08-10 14:30:25 +02:00
2018-09-19 18:52:52 +02:00
## Get Started
2018-08-10 14:30:25 +02:00
2018-09-19 18:52:52 +02:00
Then bring up an instance of the whole Ocean Protocol network stack with:
2018-08-10 14:30:25 +02:00
```bash
2018-09-19 18:52:52 +02:00
git clone git@github.com:oceanprotocol/docker-images.git
cd docker-images/
2018-08-13 11:22:36 +02:00
docker-compose --project-name=ocean up
2018-08-10 14:30:25 +02:00
```
2018-09-19 18:52:52 +02:00
After getting everything running, you can open the **Pleuston Frontend** application in your browser:
2018-08-13 15:12:21 +02:00
```
http://localhost:3000
```
2018-09-19 18:52:52 +02:00
## Ocean Protocol components
2018-08-13 15:12:21 +02:00
The Ocean Docker compose starts the following components:
2018-09-19 18:52:52 +02:00
* [🦄 pleuston](https://github.com/oceanprotocol/pleuston). Frontend listening on port `3000`.
* [🐋 provider](https://github.com/oceanprotocol/provider). Backend listening on port `5000`.
* [💧 keeper-contracts](https://github.com/oceanprotocol/keeper-contracts). RPC client listening on port `8545`.
2018-08-13 15:12:21 +02:00
2018-09-20 12:04:49 +02:00
![Ocean Protocol Components](doc/img/ocean-components@2x.png)
2018-09-19 18:52:52 +02:00
### Versions
The version of the Ocean components can be configured setting the environment variable `OCEAN_VERSION`. By default `master` branch runs the latest stable version release, and `develop` branch runs the code generated in the `master` branch of the Ocean components. If you want to run the component's code of `develop` branch:
```bash
export OCEAN_VERSION=latest
docker-compose --project-name=ocean up
```
2018-08-10 14:30:25 +02:00
## Contributing
We use GitHub as a means for maintaining and tracking issues and source code development.
If you would like to contribute, please fork this repository, do work in a feature branch, and finally open a pull request for maintainers to review your changes.
2018-09-19 18:52:52 +02:00
Ocean Protocol uses [C4 Standard process](https://github.com/unprotocols/rfc/blob/master/1/README.md) to manage changes in the source code. Find here more details about [Ocean C4 OEP](https://github.com/oceanprotocol/OEPs/tree/master/1).
2018-08-10 14:30:25 +02:00
## License
```
Copyright 2018 Ocean Protocol Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```