The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix Keystatic configuration (#10783)
Baptiste Devessierd4c2fa9f6659
diff --git a/packages/twenty-website/.env.example b/packages/twenty-website/.env.exampleindex 15b1c009128..61929e65676 100644--- a/packages/twenty-website/.env.example+++ b/packages/twenty-website/.env.example@@ -2,3 +2,8 @@ GITHUB_TOKEN=your_github_tokenDATABASE_PG_URL=postgres://website:website@localhost:5432/website # only if using postgresNEXT_PUBLIC_ALGOLIA_APP_ID=twenty_appIdNEXT_PUBLIC_ALGOLIA_API_KEY=twenty_apiKey++KEYSTATIC_GITHUB_CLIENT_ID=""+KEYSTATIC_GITHUB_CLIENT_SECRET=""+KEYSTATIC_SECRET=""+NEXT_PUBLIC_KEYSTATIC_GITHUB_APP_SLUG=""diff --git a/packages/twenty-website/keystatic.config.ts b/packages/twenty-website/keystatic.config.tsindex 97e888a6a2f..1b01a0f34c7 100644--- a/packages/twenty-website/keystatic.config.ts+++ b/packages/twenty-website/keystatic.config.ts@@ -3,17 +3,12 @@ import { wrapper } from '@keystatic/core/content-components';export default config({storage: {- kind:- process.env.KEYSTATIC_STORAGE_KIND === ''- ? 'local'- : ((process.env.KEYSTATIC_STORAGE_KIND || 'local') as- | 'local'- | 'github'- | 'cloud'),+ kind: 'github',repo: {owner: 'twentyhq',name: 'twenty',},+ pathPrefix: 'packages/twenty-website',},collections: {developers: collection({