-
Navigate to the Monocle tab and create a new Application.
-
Set the following environment variables in a
.env.localfile located at the root.
MONOCLE_SECRET_KEY=<YOUR SECRET KEY>
NEXT_PUBLIC_MONOCLE_PUBLISHABLE_KEY=<YOUR PUBLISHABLE KEY>Install dependencies:
npm installRun the development server:
npm run devOpen http://localhost:3000 in your browser to see the result.