# ipfs

> A public IPFS node & gateway.
> [ipfs.kretschmann.io](https://ipfs.kretschmann.io)

[![Build Status](https://github.com/kremalicious/ipfs/workflows/CI%2FCD%20Pipeline/badge.svg)](https://github.com/kremalicious/ipfs/actions)

This repo holds a 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:

```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`.