AppFlowy is an open-source alternative to Notion. You are in charge of your data and customizations. Built with Flutter and Rust.
Find a file
Nathan.fooo 49e83c6b6b
chore: format chat response (#1125)
* chore: chat response with format

* chore: update prompt

* chore: update test

* chore: update test

* chore: fix stress test

* chore: fix test

* chore: test

* chore: test

* chore: fix stress test

* chore: fix test
2025-01-06 01:19:00 +08:00
.github chore: format chat response (#1125) 2025-01-06 01:19:00 +08:00
.sqlx Merge branch 'main' into stateless 2024-12-24 14:59:04 +08:00
admin_frontend chore: fix clippy warnings (#1103) 2024-12-29 12:47:34 +08:00
assets chore: template (#889) 2024-10-16 17:39:24 +08:00
cert fix: request fail caused by certificate issue 2023-03-15 09:32:23 +08:00
doc chore: update self hosting documentation 2025-01-05 20:49:41 +08:00
docker fix: create admin confirmation without email 2024-12-09 22:41:56 +08:00
email_template chore: template (#889) 2024-10-16 17:39:24 +08:00
libs chore: format chat response (#1125) 2025-01-06 01:19:00 +08:00
migrations chore: save fragment index (#1106) 2024-12-31 10:03:36 +08:00
nginx chore: update nginx config for import (#935) 2024-10-25 16:47:29 +08:00
script chore: update client api dep count 2024-12-20 10:08:12 +08:00
services chore: add metrics to redis collab stream 2025-01-03 08:44:36 +01:00
src chore: format chat response (#1125) 2025-01-06 01:19:00 +08:00
tests chore: format chat response (#1125) 2025-01-06 01:19:00 +08:00
xtask chore: format chat response (#1125) 2025-01-06 01:19:00 +08:00
.dockerignore feat: published view outline endpoint 2024-09-03 15:27:59 +08:00
.gitignore chore: fix clippy warnings (#1103) 2024-12-29 12:47:34 +08:00
Cargo.lock fix: auto patch workspace folder without space (#1107) 2025-01-03 21:28:36 +08:00
Cargo.toml fix: auto patch workspace folder without space (#1107) 2025-01-03 21:28:36 +08:00
deny.toml feat: sync document through http request (#1064) 2024-12-12 14:53:07 +08:00
deploy.env chore: add explantion for password for special characters 2025-01-05 21:04:29 +08:00
dev.env chore: format chat response (#1125) 2025-01-06 01:19:00 +08:00
docker-compose-ci.yml chore: open ai call directly (#1074) 2024-12-15 23:29:46 +08:00
docker-compose-dev.yml chore: format chat response (#1125) 2025-01-06 01:19:00 +08:00
docker-compose-extras.yml feat: modernized the docker-compose file (#776) 2024-09-04 19:15:35 +08:00
docker-compose.yml chore: add missing configs to docker compose 2024-12-17 14:50:53 +08:00
Dockerfile chore: update dockerfile 2024-12-20 09:48:45 +08:00
LICENSE chore: add license 2023-07-28 21:05:27 +08:00
Makefile chore: Clean redis update script (#581) 2024-05-27 16:48:13 +08:00
README.md chore: Clean redis update script (#581) 2024-05-27 16:48:13 +08:00
rust-toolchain.toml chore: version update to resolve sec issue 2024-12-20 09:37:25 +08:00
rustfmt.toml feat: ws connect (#3) 2023-05-08 19:03:50 +08:00

License: AGPL

WebsiteTwitter

The AppFlowy Cloud written with Rust 🦀

AppFlowy Cloud

AppFlowy Cloud is part of the AppFlowy ecosystem, offering secure user authentication, file storage, and real-time WebSocket communication for an efficient and collaborative user experience.

Table of Contents

🚀 Deployment

💻 Development

Pre-requisites

You'll need to install:

Configuration

  • copy the configurations from dev.env to .env
  • edit the .env as required (such as SMTP configurations)

Run with all dependencies

./script/run_local_server.sh

This process will execute all the dependencies and start the AppFlowy-Cloud server. Alternatively, you have the option to run the AppFlowy-Cloud server independently

Run the AppFlowy-Cloud

  1. Run the dependency servers
docker compose --file docker-compose-dev.yml up -d
  1. Install sqlx-cli
cargo install sqlx-cli
  1. Run sqlx migration
sqlx database create
sqlx migrate run
cargo sqlx prepare --workspace
  1. Run the server
cargo run

Run the tests

After the server is running, you can run the tests with:

cargo test

🐞Debugging

Effective debugging is essential for maintaining a healthy application. Here are some tools and commands to help you troubleshoot issues in various components of the AppFlowy cloud server:

Postgres

A web-based administration tool for PostgreSQL. Access it at PgAdmin

  • OR command line:
    export PGPASSWORD=password
    psql --host=localhost --username=postgres --port=5432
  • Redis

Redis offers a powerful command line interface for managing your Redis instance. Connect using the following command:

    redis-cli -p 6379

Minio

Minio provides a Web UI for easy management of your files and buckets. Access it at Web UI

Portainer

For managing Docker containers, Portainer's Web UI is an excellent tool. Access it at Web UI to easily manage Docker environments, including container deployment, networking, volume management, and more. Access it at Web UI

⚙️ Contributing

Any new contribution is more than welcome in this project! If you want to know more about the development workflow or want to contribute, please visit our contributing guidelines for detailed instructions!