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
Raw Normal View History

2019-10-20 01:40:55 +02:00
# ipfs
> A public IPFS node & gateway.
> [ipfs.kretschmann.io](https://ipfs.kretschmann.io)
2021-09-12 21:45:31 +02:00
[![CI](https://github.com/kremalicious/ipfs/actions/workflows/ci.yml/badge.svg)](https://github.com/kremalicious/ipfs/actions/workflows/ci.yml)
2019-10-20 01:40:55 +02:00
2019-10-21 10:25:19 +02:00
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.
2019-10-20 01:40:55 +02:00
---
- [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
2019-10-21 10:25:19 +02:00
To create a production build:
2019-10-20 01:40:55 +02:00
```bash
npm run build
```
Outputs to `./public`.
## Deployment
2021-09-12 21:45:31 +02:00
Every branch is automatically deployed to [Vercel](https://vercel.com) with their GitHub integration. A link to a deployment will appear under each Pull Request.
2019-10-20 01:40:55 +02:00
2021-09-12 21:45:31 +02:00
The latest deployment of the `main` branch is automatically aliased to `ipfs.vercel.app` which itself is proxied to via Nginx running under `ipfs.kretschmann.io`.