Install the Logflare Ziet app at: https://zeit.co/integrations/logflare
While in your project root directory:
npm install
echo "CLIENT_ID=THE_LOGFLARE_APP_CLIENT_ID
CLIENT_SECRET=THE_LOGFLARE_APP_CLIENT_SECRET
HOST=http://localhost:5005
LOGFLARE_HOST=http://localhost:4000
LOGFLARE_CLIENT_ID=LOGFLARE_CLIENT_ID
LOGFLARE_CLIENT_SECRET=LOGFLARE_CLIENT_SECRET"
> .env
now dev --listen 5005
While in your project root directory:
now secrets add host LOGFLARE_ZEIT_APP_HOST_DOMAIN
now secrets add client_id LOGFLARE_ZIET_APP_CLIENT_ID
now secrets add client_secret LOGFLARE_ZIET_APP_SECRET
now secrets add logflare_host LOGFLARE_ZIET_APP_SECRET
now secrets add logflare_client_id LOGFLARE_ZIET_APP_SECRET
now secrets add logflare_client_secret LOGFLARE_ZIET_APP_SECRET