Deployment
Table of Contents:
Setup
NextAuth & MongoDB
- Commit your code and push to a private repo on GitHub.
- Use Vercel to create a new project based on the GitHub repo.
- Set the right environment variables before deploying as the
.env.local
is not committed. - Using Stripe? Follow the Stripe Production Checklist.
Make sure NEXTAUTH_URL
matches your domain name for auth features to work. Change NEXTAUTH_SECRET
to anything else.
Supabase
- Commit your code and push to a private repo on GitHub.
- Use Vercel to create a new project based on the GitHub repo.
- Set the right environment variables before deploying as the
.env.local
is not committed. - Using Google Oauth? Follow the Stripe Production Checklist.
- Using Stripe? Follow the Stripe Production Checklist.
Cache Issues
If you are having issues with the cache, for example opengraph images not showing up, you can do either of the following:
- You can go to Vercel and redeploy without build cache.
- You can add
?ref=whatever
or?ref=1
to the end of the URL when sharing. Example:https://shipfast.guide/?ref=1
.
Showcase All Your Startups on a Single Page | Indie Page
Everything you build, your apps, your revenue, in one simple link in bio. Linktree for entrepreneurs. Create your Indie Page for free!
Grow your startup with viral launch videos | LaunchViral
I never enjoyed marketing. I found an alternative which helped me stand out from the crowd on 𝕏, drive traffic to my startups and earn $45,000/month.