Skip to content

understory-garden/nifty-gate

Repository files navigation

Nifty Gate

This is an Understory Garden Gate designed to showcase NFTs. It's a simple Next.js application designed be used as a showcase for an Understory Garden note.

Deploy your own

Because this is just a Next.js application, you can run it locally or deploy it to any hosting service you like. It is designed to be deployed with Incremental Static Regeneration enabled so it may not function quite the way you expect if your hosting provider doesn't support that feature.

Setup

To get started, run npm install in the root directory of this project.

Next, create a .env.local file in the root directory of this project and use it to set GNOME_CONFIG_URL. For example, in my development repository I have a .env.local file with the following contents:

GNOME_CONFIG_URL=https://understory.myunderstory.com/public/apps/understory/garden/gnomes.ttl#162088323608334856805631776244

Local development

To work on this project locally, from the root directory of this project run:

npm run dev

Custom Deployment on Vercel

To deploy this project on Vercel, fork this repository on GitHub or clone and push to any Git hosting platform supported by Vercel. Follow the instructions in the Next.js documentation to deploy.

You will need to set the GNOME_CONFIG_URL environment variable when deploying this project. For more information on how to set environment variables on deployments, see the documentation provided by your hosting provider. Instructions for Vercel can be found here.

npm run dev