mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
7eb20b232a
* fix: load database fail caused by spawning long run task * chore: yield long run task * chore: fmt * chore: update client api * feat: copy data between server * ci: fix af cloud test
42 lines
1.3 KiB
Bash
42 lines
1.3 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
|
|
#
|
|
# Local host machine(For local develop)
|
|
# 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=
|