diff --git a/README.md b/README.md index 0b4ae11..894f104 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,21 @@ Application to manage Waku RLN keystores. +## Static Export & Deployment + +This app is a fully static site. To build and deploy: + +1. Install dependencies: + ```sh + npm install + ``` +2. Build the static site: + ```sh + npm run build + ``` + The static site will be output to the `out/` directory. +3. Deploy the contents of the `out/` directory to any static host (e.g., Netlify, Vercel static, GitHub Pages, S3, etc.). + ## Overview This application provides an interface for managing keystores for Waku's rate-limiting nullifier (RLN) functionality. It integrates with MetaMask for wallet connectivity. diff --git a/next.config.js b/next.config.js index 3e4252a..18096c0 100644 --- a/next.config.js +++ b/next.config.js @@ -8,6 +8,7 @@ const nextConfig = { ], }, reactStrictMode: true, + output: 'export', } module.exports = nextConfig \ No newline at end of file