mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
73f1c211c2
* chore: update client api * chore: update client api * chore: update client api * chore: fix clippy * chore: fix clippy * ci: fix * chore: update client api
34 lines
1.0 KiB
Bash
34 lines
1.0 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=replace-with-your-supabase-url
|
|
SUPABASE_ANON_KEY=replace-with-your-supabase-key
|
|
|
|
# AppFlowy Cloud Configuration
|
|
# If using AppFlowy Cloud (CLOUD_TYPE=2), provide the following details:
|
|
APPFLOWY_CLOUD_BASE_URL=https://xxxxxxxxx
|
|
APPFLOWY_CLOUD_WS_BASE_URL=wss://xxxxxxxxx
|
|
APPFLOWY_CLOUD_GOTRUE_URL=https://xxxxxxxxx
|
|
|
|
|