mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-11-04 03:54:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Bash
		
	
	
	
	
	
# Initial Setup
 | 
						|
 | 
						|
# 1. Copy the dev.env file to .env:
 | 
						|
#   cp dev.env .env    
 | 
						|
# Update the environment parameters as needed.
 | 
						|
 | 
						|
# 2. Generate the env.dart from this .env file:
 | 
						|
# You can use the "Generate Env File" task in VSCode.
 | 
						|
# Alternatively, execute the following commands:
 | 
						|
#   cd appflowy_flutter
 | 
						|
#   dart run build_runner clean && dart run build_runner build --delete-conflicting-outputs
 | 
						|
 | 
						|
 | 
						|
# Cloud Type Configuration
 | 
						|
# Use this configuration file to specify the cloud type and its associated settings. The available cloud types are:
 | 
						|
# Local: 0
 | 
						|
# Supabase: 1
 | 
						|
# AppFlowy Cloud: 2
 | 
						|
# By default, it's set to Local.
 | 
						|
CLOUD_TYPE=0
 | 
						|
 | 
						|
# Supabase Configuration
 | 
						|
# If using Supabase (CLOUD_TYPE=1), provide the following details:
 | 
						|
SUPABASE_URL=
 | 
						|
SUPABASE_ANON_KEY=
 | 
						|
 | 
						|
# AppFlowy Cloud Configuration
 | 
						|
# If using AppFlowy Cloud (CLOUD_TYPE=2), provide the following details:
 | 
						|
# For instance:
 | 
						|
#   APPFLOWY_CLOUD_BASE_URL=https://xxxxxxxxx
 | 
						|
#   APPFLOWY_CLOUD_WS_BASE_URL=wss://xxxxxxxxx
 | 
						|
#   APPFLOWY_CLOUD_GOTRUE_URL=https://xxxxxxxxx
 | 
						|
#
 | 
						|
# When using localhost for development, you must run AppFlowy Cloud locally
 | 
						|
# first.  Plese Please follow the instructions below: 
 | 
						|
# https://github.com/AppFlowy-IO/AppFlowy-Cloud#development
 | 
						|
#
 | 
						|
# After running AppFlowy Cloud locally, you can use the following settings:
 | 
						|
# APPFLOWY_CLOUD_BASE_URL=http://localhost:8000
 | 
						|
# APPFLOWY_CLOUD_WS_BASE_URL=ws://localhost:8000/ws
 | 
						|
# APPFLOWY_CLOUD_GOTRUE_URL=http://localhost:9998
 | 
						|
 | 
						|
APPFLOWY_CLOUD_BASE_URL=
 | 
						|
APPFLOWY_CLOUD_WS_BASE_URL=
 | 
						|
APPFLOWY_CLOUD_GOTRUE_URL=
 |