Build static website Clone git repo install all dependencies Create .env.local file with var NEXT_PUBLIC_ENV=production Run "yarn run build" Copy all files from "out" directory Run app in dev environment Change var NEXT_PUBLIC_ENV=dev in .env.local file Run "yarn run dev" Open http://localhost:3000/