chatgpt-langchain-qna-on-your-docs icon indicating copy to clipboard operation
chatgpt-langchain-qna-on-your-docs copied to clipboard

how to publish this ?

Open chris6676776 opened this issue 1 year ago • 1 comments

I am trying to deploy this on the web instead of localhost but I tried Vercel and Netfly they keep running in the deployment stage without going further. what should be done to publish this?

chris6676776 avatar May 18 '23 03:05 chris6676776

Hello @chris6676776.

For the frontend, its created using Vercel, so you should be able to follow these guidelines to publish it as a Vercel app: https://nextjs.org/learn/basics/deploying-nextjs-app/deploy

If you have never deployed a Vercel app, then I'll highly recommend you to first go through their example tutorial to create your first app. There are some nuances that you'll discover as you go through the process.

As for the backend, the backend code might need to be reorganized based on these guidelines https://vercel.com/guides/using-express-with-vercel#standalone-express to make it deployable on Vercel.

If you deploy it successfully to Vercel, then I'd appreciate a pull request with those updates, as it'll really help the community out.

doingthisalright avatar Jun 08 '23 08:06 doingthisalright