mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-31 04:46:15 +00:00
21 lines
889 B
Bash
21 lines
889 B
Bash
![]() |
# Initial Setup
|
||
|
# 1. Copy the dev.env file to .env:
|
||
|
# cp dev.env .env
|
||
|
# 2. Alternatively, you can generate the .env file using the "Generate Env File" task in VSCode.
|
||
|
|
||
|
# Configuring Cloud Type
|
||
|
# This configuration file is used to specify the cloud type and the necessary configurations for each cloud type. The available options are:
|
||
|
# Supabase: Set CLOUD_TYPE to 1
|
||
|
# AppFlowy Cloud: Set CLOUD_TYPE to 2
|
||
|
|
||
|
CLOUD_TYPE=1
|
||
|
|
||
|
# Supabase Configuration
|
||
|
# If you're using Supabase (CLOUD_TYPE=1), you need to provide the following configurations:
|
||
|
SUPABASE_URL=replace-with-your-supabase-url
|
||
|
SUPABASE_ANON_KEY=replace-with-your-supabase-key
|
||
|
|
||
|
# AppFlowy Cloud Configuration
|
||
|
# If you're using AppFlowy Cloud (CLOUD_TYPE=2), you need to provide the following configurations:
|
||
|
APPFLOWY_CLOUD_BASE_URL=replace-with-your-appflowy-cloud-url
|
||
|
APPFLOWY_CLOUD_BASE_WS_URL=replace-with-your-appflowy-cloud-ws-url
|