Installing GPT for Confluence:
Using GPT for Confluence as a user:
Tips for using GPT for Confluence:
Develop:
make pg
. It'll init db automantically.export DATABASE_URL=postgres://postgres:postgres@127.0.0.1:5438/gpt_ace
export LOCAL_BASE_URL=https://{your custom domain}
export PORT=3000
export NODE_ENV=production
export OPENAI_API_KEY=....
export CF_R2_ACCESS_KEY=....
export CF_R2_SECRET_KEY=....
npm install
npm run build
npm run start
With ngrok
based local environment setup, one known issue is Failed to start ngrok tunnel
on hot reloads. To address this, one alternative is Cloudflare Tunnel.
Set up local environment variable for ACE local base url using your public hostname
e.g.
export AC_LOCAL_BASE_URL=https://yanhui3000.zenuml.com
npm run watch
baseUrl
is correctcd modules/confluence-plugin
yarn start:local