From 44fd7bee89ead01cbc78981f290fb05fefc87e6a Mon Sep 17 00:00:00 2001 From: chance <33612720+fluidi-beep@users.noreply.github.com> Date: Tue, 3 Aug 2021 23:40:46 -0500 Subject: [PATCH] Adds a note about deploying web apps where an environment variable should be changed to avoid GUN warnings being treated as errors during CI (#1101) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 57081214..5a0b64b4 100644 --- a/README.md +++ b/README.md @@ -220,6 +220,8 @@ var SEA = require('gun/sea'); ## Deploy > Note: The default examples that get auto-deployed on `npm start` CDN-ify all GUN files, modules, & storage. + + > Note: When deploying a web application using GUN on a cloud provider, you may have to set `CI=false` in your `.env`. This prevents GUN-specific warnings from being treated as errors when deploying your app. You may also resolve this by modifying your webpack config to not try to build the GUN dependencies. To quickly spin up a GUN relay peer for your development team, utilize [Zeet](https://zeet.co), [Heroku](http://heroku.com), [Docker](http://docker.com), or any variant thereof [Dokku](http://dokku.viewdocs.io/dokku/), [Flynn.io](http://flynn.io), [now.sh](https://zeit.co/now), etc. ! Or use all of them so your relays are decentralized too!