1
0
mirror of https://github.com/oceanprotocol/ipfs synced 2024-10-31 23:25:17 +01:00
👩🏽‍🚀 Ocean Protocol's public IPFS node & gateway.
Go to file
2019-10-22 12:56:23 +02:00
public SEO tweaks, fix root assets 2019-10-17 14:15:39 +02:00
src lazy load components & css optimizations 2019-10-21 11:52:51 +02:00
.eslintrc lazy load components & css optimizations 2019-10-21 11:52:51 +02:00
.gitignore lazy load components & css optimizations 2019-10-21 11:52:51 +02:00
.prettierrc initial commit 🏄‍♀️ 2019-10-16 17:02:04 +02:00
.travis.yml add more feedback 2019-10-18 11:32:36 +02:00
LICENSE update docs, add deployment 2019-10-16 17:26:46 +02:00
next-env.d.ts fixes and move to typescript 2019-10-17 00:14:45 +02:00
next.config.js lazy load components & css optimizations 2019-10-21 11:52:51 +02:00
package.json package updates 2019-10-22 12:56:23 +02:00
postcss.config.js lazy load components & css optimizations 2019-10-21 11:52:51 +02:00
README.md layout tweaks 2019-10-18 13:40:14 +02:00
site.config.js new layout and info block 2019-10-18 13:10:43 +02:00
tsconfig.json lazy load components & css optimizations 2019-10-21 11:52:51 +02:00

banner

ipfs

👩🏽‍🚀 Ocean Protocol's public IPFS node & gateway. ipfs.oceanprotocol.com

Build Status Now deployment js oceanprotocol

This repo holds a simple React app built with Next.js serving as the frontpage of 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.

Screen Shot 2019-10-16 at 17 25 08

Development

npm i
npm start

Will start a live-reloading local server, reachable under localhost:3000.

Production

To create a production build, run from the root of the project:

npm run build

Outputs to ./public.

Deployment

Every branch is automatically deployed to 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:

# first run
now login
now switch

# deploy
now
# switch alias to new deployment
now alias

Authors

License

Copyright 2018 Ocean Protocol Foundation Ltd.

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.