I have gone through all the documentation and have yet to find any info on how to properly deploy blitzjs into production especially on services like Vercel? I see info in relation to code drops and am using the SQLite DB with MDX for production? I have turned the login to an admin panel jsut for me users iwll not be able to sign up as a user of my app only my email list very minimal.
#How to deploy BlitzJS to Vercel and where is the documentation to deploying blitz?
1 messages · Page 1 of 1 (latest)
Hey, regarding vercel you can consider blitzjs as just another library (or as we call it a toolkit) for next.js. So you can deploy it the same way you deploy next.js.
Regarding the Sqllite DB we will need to change to a serverless alternative for it to be compatible with the serverless deployment of your API routes by vercel if you are not going for a custom server.
ok so theres no special steps to deploy thats cool, I was reading about deploying the build on AWS and seen that there was a --production flag on blitz build command but I couldnt find any documentation on script flags and though blitz may have had special flags for production and steps to deploy? If it is the same as next minus the blitz build proccess I should be good
https://blitzjs.com/docs/cli-build, I don't this the flag you are mentioning pertains to the current version of the toolkit. Blitz CLI provides a wrapper for nextjs CLI, yeah so you should be good. What version of blitz you are using?
im using the latest