News for hackers. Stuff that matters.
Re:Show HN: Create books on any topic with ChatGPT by steventey on Monday August 07, 2023 @05:17PM (#37041061)
Which template are you trying to deploy to Vercel? If you can send me the link to the template/GitHub issue/support ticket, I can try and debug it for you!
Re:Show HN: Create books on any topic with ChatGPT by mpolanco on Monday August 07, 2023 @10:42PM (#37043849)
Thanks a lot! I just forked books-by-ai, and added a new project in Vercel. The only thing I added was my openai api key, in the enviroment.
Re:Show HN: Create books on any topic with ChatGPT by timz on Tuesday August 08, 2023 @12:49PM (#37051911)
Postgres storage must be added to vercel, it will define POSTGRES_PRISMA_URL env variable, which must be added to local .env file, to run locally.

You also need to define OPENAI_API_KEY env variable.

Will add instructions in the github README.