Skip to content

wri/project-zeno-next

Repository files navigation

Global Nature Watch

Installation and Usage

The steps below will walk you through setting up your own instance of the project.

Install Project Dependencies

To set up the development environment for this website, you'll need to install the following on your system:

  • Node (see version in .nvmrc) (To manage multiple node versions we recommend nvm)
  • pnpm

Initialize .env.local File

The project uses environment variables, which are set by default in the .env file. To customize these variables (e.g., to use a custom database), create a .env.local file at the root of the repository (cp .env.example .env.local) and modify as needed.

Required Environment Variables:

  • NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN: Your Mapbox access token for map tiles

For more detailed instructions on working with environment variables in Next.js, please consult the Next.js Environment Variables documentation.

Note: The .env.local file is configured to be ignored by Git to prevent accidental exposure of sensitive information.

Start local development server

If you use nvm, activate the desired Node version:

nvm install

Install Node modules:

pnpm install

Start development server:

pnpm dev

✨ You can now access the app at http://localhost:3000

License

TBD

Releases

No releases published

Packages

No packages published

Contributors 13

Languages