Go to file
Zack Fu Zi Xiang 44a8bf35c2
Merge branch 'main' into gotrue-2.159.0
2024-08-27 08:58:25 +08:00
.github chore: add app version when querying ai configuratino (#724) 2024-08-13 11:14:32 +08:00
.sqlx feat: Template CRUD Endpoint (#731) 2024-08-20 15:22:56 +08:00
admin_frontend fix: fix admin frontend image compilation failure (#714) 2024-08-05 23:42:42 +08:00
assets fix: copy 2024-05-06 14:40:10 +08:00
cert fix: request fail caused by certificate issue 2023-03-15 09:32:23 +08:00
doc chore: Clean redis update script (#581) 2024-05-27 16:48:13 +08:00
docker chore: update gotrue version for ci and dev 2024-08-26 12:10:57 +08:00
email_template fix: copy 2024-05-06 14:40:10 +08:00
libs chore: revamp get collab api request (#752) 2024-08-26 23:41:06 +08:00
migrations feat: Template CRUD Endpoint (#731) 2024-08-20 15:22:56 +08:00
nginx fix: set proxy request buffering off 2024-06-20 20:31:00 +08:00
postgres feat: Appflowy-indexer service and /api/search endpoint (#582) 2024-05-28 21:09:29 +08:00
script feat: support uploading file with multiple part (#625) 2024-06-19 13:06:58 +08:00
services Merge pull request #750 from AppFlowy-IO/ws-client-min-version 2024-08-27 01:35:20 +08:00
src chore: drop endpoints used before client version 0.5.0 2024-08-26 18:53:24 +02:00
tests feat: endpoint for avatar upload (#736) 2024-08-23 16:36:09 +08:00
xtask chore: remove appflowy indexer service 2024-06-28 05:40:44 +02:00
.dockerignore feat: use apply server migration when server starts (#30) 2023-09-12 15:12:08 +08:00
.gitignore chore: run with different env file (#275) 2024-01-29 02:26:43 +08:00
Cargo.lock chore: upgrade appflowy collab version (#751) 2024-08-26 21:20:39 +08:00
Cargo.toml chore: upgrade appflowy collab version (#751) 2024-08-26 21:20:39 +08:00
Dockerfile feat: improve email workspace invitations 2024-04-30 11:07:29 +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
deploy.env chore: add app version when querying ai configuratino (#724) 2024-08-13 11:14:32 +08:00
dev.env chore: add app version when querying ai configuratino (#724) 2024-08-13 11:14:32 +08:00
docker-compose-ci.yml chore: update gotrue version for ci and dev 2024-08-26 12:10:57 +08:00
docker-compose-dev.yml chore: update gotrue version for ci and dev 2024-08-26 12:10:57 +08:00
docker-compose-extras.yml docs: Doc improvement (#256) 2024-01-12 16:01:16 +08:00
docker-compose.yml Merge pull request #660 from SharksT/fix_env 2024-06-29 02:50:33 +08:00
rustfmt.toml feat: ws connect (#3) 2023-05-08 19:03:50 +08:00

README.md

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!