Skip to main content

The Stacks Explorer frontend user interface is built with React, next.js and @stacks/ui.

Before you can run it on your machine locally, you must first clone the Stacks Explorer repository to obtain all of the necessary files and libraries needed.

Project Dependencies

Once you have cloned the Stacks Explorer repositories, you will need to install the following project dependencies:

NOTE:

Although Homebrew is not required to install and operate the Stacks Explorer, it is highly recommended.

Open your terminal window, and make sure you are in the /explorer folder. Run the below command to install the dependencies:

pnpm i

After installing and configuring your environment, you can run the Stacks Explorer locally if you wish by running the followning pnpm command:

pnpm dev

Building for Production

You may also build a production version of the Stacks Explorer. Simply run the following command:

pnpm build

NOTE:

Running pnpm build also run the default next.js build task.