chore: update docs

This commit is contained in:
nathan 2023-11-21 10:16:55 +08:00
parent a53ff37aec
commit d6949357cf
4 changed files with 27 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

View File

@ -32,7 +32,7 @@ DATABASE_URL=postgres://postgres:password@localhost:5433/postgres
SQLX_OFFLINE=false
# Google OAuth2
GOTRUE_EXTERNAL_GOOGLE_ENABLED=false
GOTRUE_EXTERNAL_GOOGLE_ENABLED=true
GOTRUE_EXTERNAL_GOOGLE_CLIENT_ID=
GOTRUE_EXTERNAL_GOOGLE_SECRET=
GOTRUE_EXTERNAL_GOOGLE_REDIRECT_URI=http://localhost:9998/callback

View File

@ -140,7 +140,26 @@ These commands are helpful for Docker maintenance but use them with caution as t
## Q & A
### Resolving the 'No Space Left on Device' Error when using free-tier EC2 instance
### 1.Troubleshooting Redirect Issues After OAuth Login in AppFlowy
#### Issue: Inability to Redirect to AppFlowy Application After Login with Google/GitHub/Discord
If you're encountering difficulties redirecting to the AppFlowy application after attempting to log in using Google, GitHub, or Discord OAuth, follow these steps for troubleshooting:
1. **Check OAuth Configuration for Google**:
- Ensure `GOTRUE_EXTERNAL_GOOGLE_ENABLED` is set to `true`.
- Verify that all other necessary Google OAuth credentials are correctly configured.
2. **Apply Similar Checks for Other OAuth Providers**:
- Follow the same verification process for other OAuth providers like GitHub and Discord. Make sure their respective configurations are correctly set.
![img.png](../assets/images/env_self_host.png)
The provided image illustrates the correct configuration settings.
### 2. Resolving the 'No Space Left on Device' Error when using free-tier EC2 instance
Encountering a 'No space left on device' error indicates that your device's storage is full. Here's how to resolve this:

View File

@ -24,7 +24,12 @@ For older versions of Docker Engine that do not include Docker Compose:
## Steps
> **🚀Note for AWS Users:** [Here](./EC2_SELF_HOST_GUIDE.md) is a step by step guide to self host AppFlowy Cloud on AWS EC2. Skip it if you are not using AWS.
> **🚀🚀🚀 Quick Try: Step-by-Step Guide**
>
> For an in-depth, step-by-step guide on self-hosting AppFlowy Cloud on AWS EC2, particularly for demonstration purposes, please consult our detailed documentation:
> [Self-Hosting AppFlowy Cloud on AWS EC2 - Step by Step Guide](./EC2_SELF_HOST_GUIDE.md)
>
> **Note:** This guide is tailored for demonstration purposes using the AWS EC2 free tier. For more customized deployment options, please follow the subsequent steps outlined below.
### 1. Getting source files