1
0
mirror of https://github.com/kremalicious/ipfs.git synced 2024-12-29 08:07:47 +01:00
ipfs/README.md

45 lines
1.4 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)
2021-09-13 23:55:29 +02:00
[![Maintainability](https://api.codeclimate.com/v1/badges/c43bcf37192f95f3a154/maintainability)](https://codeclimate.com/github/kremalicious/ipfs/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/c43bcf37192f95f3a154/test_coverage)](https://codeclimate.com/github/kremalicious/ipfs/test_coverage)
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
2021-09-12 23:28:40 +02:00
cp .env.sample .env
2019-10-20 01:40:55 +02:00
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`.