1
0
mirror of https://github.com/kremalicious/ipfs.git synced 2024-11-24 19:00:55 +01:00
ipfs/README.md

42 lines
1.1 KiB
Markdown

# ipfs
> A public IPFS node & gateway.
> [ipfs.kretschmann.io](https://ipfs.kretschmann.io)
[![Build Status](https://flat.badgen.net/travis/kremalicious/ipfs?icon=travis)](https://travis-ci.com/kremalicious/ipfs)
This repo holds a simple React app built with [Next.js](https://nextjs.org) serving as the frontpage of [ipfs.kretschmann.io](https://ipfs.kretschmann.io) from where you can add files to IPFS via drag and drop.
---
- [Development](#development)
- [Production](#production)
- [Deployment](#deployment)
---
## Development
```bash
npm i
npm start
```
Will start a live-reloading local server, reachable under [localhost:3000](http://localhost:3000).
## 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.kremalicious.now.sh`.