If you have successfully deployed Outstatic to Vercel and want to run Outstatic locally, here are the steps you need to follow:
git clone your repository and install dependencies:
pnpm install # or yarn install # or npm installbash
Since a Github OAuth app cannot have multiple callback URLs, you need to create another Github OAuth app for local development.
The only difference is that you need to set the homepage URL to
http://localhost:3000 and set the callback URL to
You can duplicate the
.env.local.example file and rename it to
.env.local. Then, fill in the environment variables with the values from your new Github OAuth app.
Note that you should comment out the
OST_MONOREPO_PATH environment variable if you are not using a monorepo.
npm run devbash