Go to file
Zack 85b5c26665
feat: remove pgjwt extension (#179)
2023-11-24 11:05:36 +08:00
.github fix: admin frontend image (#172) 2023-11-20 21:47:40 +08:00
.sqlx feat: Integrate workspace member (#140) 2023-10-25 20:44:30 +08:00
admin_frontend fix: remove unneeded assets 2023-11-22 22:48:12 +08:00
assets docs: update selfhost docs (#174) 2023-11-21 21:17:37 +08:00
build feat: http init sync (#151) 2023-11-08 15:41:39 +08:00
cert fix: request fail caused by certificate issue 2023-03-15 09:32:23 +08:00
configuration feat: http init sync (#151) 2023-11-08 15:41:39 +08:00
doc feat: remove unneeded fields in deploy env file 2023-11-22 15:47:52 +08:00
docker ci: try with fix missing 2023-11-09 22:45:29 +08:00
libs chore: cargo fmt 2023-11-22 22:49:36 +08:00
migrations feat: notify user profile change (#163) 2023-11-13 22:58:18 +08:00
nginx feat: redirect to web if login from web 2023-11-22 13:25:51 +08:00
src feat: notify user via websocket after profile changed (#164) 2023-11-14 12:47:10 +08:00
tests feat: dynamic load oauth login options if supported by gotrue 2023-11-22 22:45:15 +08:00
.dockerignore feat: use apply server migration when server starts (#30) 2023-09-12 15:12:08 +08:00
.gitignore Test deploy docker log (#105) 2023-10-08 21:42:25 +08:00
Cargo.lock feat: Deployment update (#169) 2023-11-16 00:29:18 +08:00
Cargo.toml feat: Deployment update (#169) 2023-11-16 00:29:18 +08:00
Dockerfile ci: vendor protoc (#152) 2023-11-08 21:12:00 +08:00
LICENSE chore: add license 2023-07-28 21:05:27 +08:00
Makefile chore: remove redundant sqlx command (#22) 2023-09-08 22:51:16 +08:00
README.md docs: update readme 2023-11-15 11:15:36 +08:00
deploy.env feat: remove unneeded fields in deploy env file 2023-11-22 15:47:52 +08:00
dev.env chore: update docs 2023-11-21 10:16:55 +08:00
docker-compose-dev.yml feat: remove pgjwt extension (#179) 2023-11-24 11:05:36 +08:00
docker-compose.yml feat: remove pgjwt extension (#179) 2023-11-24 11:05:36 +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

./build/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=5433
  • Redis

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

    redis-cli -p 6380

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!