Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/packages/supabase/.env requires Google credentials? #141

Open
claudiorrrr opened this issue Aug 18, 2024 · 2 comments
Open

/packages/supabase/.env requires Google credentials? #141

claudiorrrr opened this issue Aug 18, 2024 · 2 comments

Comments

@claudiorrrr
Copy link

GOOGLE_CLIENT_ID=YOUR_GOOGLE_CLIENT_ID
GOOGLE_SECRET=YOUR_GOOGLE_SECRET

@HMarzban
Copy link
Collaborator

As planned, users can run the project in editor-only mode!
This means that if you are not interested in or do not need the chat or auth features, you can leave these .env variables blank:

  1. packages/webapp/.env
# Replace this with your Tiptap Pro token if you want to install Tiptap Pro extensions.
# For more information, visit: https://tiptap.dev/docs/editor/extensions/overview?filter=pro
TIPTAP_PRO_TOKEN=YOUR_TIPTAP_PRO_TOKEN

# Replace this with your Supabase anon key.
# Leave it empty if you don't want to use Auth and Realtime features (like chat).
NEXT_PUBLIC_SUPABASE_ANON_KEY= #YOUR_SUPABASE_ANON_KEY
NEXT_PUBLIC_SUPABASE_URL= #http://localhost:54321
NEXT_PUBLIC_SUPABASE_WS_URL= #ws://localhost:54321
NEXT_PUBLIC_AUTH_REDIRECT_TO= #http://localhost:3000/auth/callback
  1. packages/hocuspocus.server/.env
# Supabase Configuration: Required for Auth and Realtime features (like chat).
# If you're only using DocsPlus for the editor, you can ignore this.
SUPABASE_ANON_KEY=your-supabase-anon-key
SUPABASE_URL=your-supabase-url

# if you do not want to use the Multimedia extentsion you can ignore these too
# Configuration for DigitalOcean Spaces, AWS S3, or any S3-compatible storage services
DO_STORAGE_ENDPOINT=your-endpoint
DO_STORAGE_REGION=your-region
DO_STORAGE_ACCESS_KEY_ID=your-access-key
DO_STORAGE_SECRET_ACCESS_KEY=your-secret-access-key
DO_STORAGE_BUCKET=your-bucket
DO_STORAGE_MAX_FILE_SIZE=your-max-file-size
  1. packages/supabase/.env
# Google Social Login
# For more information, visit: https://supabase.com/docs/guides/auth/social-login
# Check the config.toml file in the root of the project for additional social login parameters.
GOOGLE_CLIENT_ID=YOUR_GOOGLE_CLIENT_ID
GOOGLE_SECRET=YOUR_GOOGLE_SECRET

HMarzban added a commit that referenced this issue Aug 20, 2024
@HMarzban
Copy link
Collaborator

@claudiorrrr thanks! If you're more interested in docsplus, I'd love to have a chat on Slack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants