This repo holds a simple React app built with Webpack serving as the frontpage of [ipfs.oceanprotocol.com](https://ipfs.oceanprotocol.com) from where you can add files to IPFS via drag and drop.
General IPFS integration within the Ocean Protocol stack is outlined in [OEP-15: Distributed Asset File Storage with IPFS](https://github.com/oceanprotocol/OEPs/tree/master/15).
<imgwidth="1308"alt="Screen Shot 2019-10-16 at 17 25 08"src="https://user-images.githubusercontent.com/90316/66933885-f8d4ab80-f039-11e9-846e-91e549c2dbd2.png">
---
- [Development](#development)
- [Production](#production)
- [Deployment](#deployment)
- [Manual Deployment](#manual-deployment)
- [Authors](#authors)
- [License](#license)
---
## Development
```bash
npm i
npm start
```
Will start a live-reloading local server, reachable under [localhost:8080](http://localhost:8080).
## Production
To create a production build, run from the root of the project:
```bash
npm run build
```
Outputs to `./public`.
## Deployment
Every branch is automatically deployed to [Now](https://zeit.co/now) with their GitHub integration. A link to a deployment will appear under each Pull Request.
The latest deployment of the `master` branch is automatically aliased to `ipfs.oceanprotocol.now.sh`.
### Manual Deployment
If needed, app can be deployed manually. Make sure to switch to Ocean Protocol org before deploying: