How to deploy to Vercel.com?

I wished to deploy it to vercel.com, but saw no guidance in the documentation. By default, the vercel will assign a sub domain via https after the deployment from the Github repository. Couldn’t visit URL like this: http://tasking-ai.vercel.app:8080/

1 Like

Do I need to separate the project to 2 repositories - frontend and backend and then deploy them to the vercel separately? Vercel supports only https visit to the deployments. Thanks.

Hi Skyscraper. I’m not familiar with Vercel.com, so I cannot give you a more specific advice on how to deploy TaskingAI to it. But the following information may help:

Inside our Github repository, you will find both the frontend and the backend’s code (we will soon include plugin and inference to it as well). Inside each of the sub-directories, you will find a dockerfile that can build a docker image for that sub-directory. If you intend to start TaskingAI’s service on your local machine, you may simply run each module’s docker image and connect them together.

OK. Thank you very much.

Since vercel.com doesn’t support docker build, I may have to separate into frontend and backend 2 projects. It should work for the frontend since I see the ts+vite build configuration. But I’m not clear about how to build the backend if don’t go with docker?

And what’s the hardware requirement for the backend?

I separately build the frontend on Vercel.com using vite build but an error was reported as attached screenshot.

Sorry for my late response. It looks like your environment on vercel lacks some certain packages (react-i18next). Please check how to install pacages with vercel.