Go to file
Nathan.fooo 15b77e63af
fix: import zip with multiple level folder (#900)
2024-10-18 09:46:17 +08:00
.github feat: oauth server (#866) 2024-10-15 13:16:47 +08:00
.sqlx chore: imported workspace should not become the latest visting workspace (#890) 2024-10-16 21:02:05 +08:00
admin_frontend feat: oauth login box (#874) 2024-10-16 14:00:03 +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 docs: disable signup 2024-10-14 13:49:49 +08:00
docker chore: use pgvector for postgres image instead of building 2024-09-30 16:20:19 +08:00
email_template chore: template (#889) 2024-10-16 17:39:24 +08:00
libs chore: imported workspace should not become the latest visting workspace (#890) 2024-10-16 21:02:05 +08:00
migrations feat: implement import notion zip file api endpoint (#840) 2024-10-03 22:22:29 +08:00
nginx chore: update payload size for import (#883) 2024-10-14 23:17:09 +08:00
script chore: template (#889) 2024-10-16 17:39:24 +08:00
services fix: import zip without root dir (#898) 2024-10-18 00:51:53 +08:00
src chore: remove workspace and collab listener (#893) 2024-10-17 17:43:00 +08:00
tests chore: imported workspace should not become the latest visting workspace (#890) 2024-10-16 21:02:05 +08:00
xtask feat: implement import notion zip file api endpoint (#840) 2024-10-03 22:22:29 +08:00
.dockerignore feat: published view outline endpoint 2024-09-03 15:27:59 +08:00
.gitignore chore: run with different env file (#275) 2024-01-29 02:26:43 +08:00
Cargo.lock fix: import zip with multiple level folder (#900) 2024-10-18 09:46:17 +08:00
Cargo.toml fix: import zip with multiple level folder (#900) 2024-10-18 09:46:17 +08:00
Dockerfile feat(af-cloud): expose container port via env var 2024-09-04 12:35:05 -04: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
deny.toml chore: add RUSTSEC-2024-0370 to ignore list (#881) 2024-10-15 14:43:13 +08:00
deploy.env feat: implement import notion zip file api endpoint (#840) 2024-10-03 22:22:29 +08:00
dev.env chore: import mailer (#869) 2024-10-13 20:08:55 +08:00
docker-compose-ci.yml feat: oauth server (#866) 2024-10-15 13:16:47 +08:00
docker-compose-dev.yml chore: use pgvector for postgres image instead of building 2024-09-30 16:20:19 +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: use workspace deps (#880) 2024-10-14 16:02:22 +08:00
rust-toolchain.toml feat: implement import notion zip file api endpoint (#840) 2024-10-03 22:22:29 +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!