Project setting
To deploy ShipThing on any hosting provider, you need to create 3 new projects for theapp
, api
and web
apps. After selecting your repository, change the Root Directory option to the app of choice e.g. apps/app
. This should automatically detect the Next.js setup and as such, the build command and output directory.
Then, add all your environment variables to the project.
Finally, just hit “Deploy” and Vercel will take care of the rest!
Here we assume that you already know the differences between these applications and which ones you will deploy
Environment variables
We recommend making use of the Team Environment Variables feature of the hosting provider before deploying. Variables used by libraries need to exist in all packages and duplicating them can be a headache. Learn more about how environment variables work in ShipThing.First deployment may failThe first time this may fail if you don’t place all the environment variables correctly. It’s fine. Make the first deployment fail, then correct the environment variables. Redeploy.