Go to file
Nathan.fooo 147317bd1c
chore: update docs (#165)
* chore: update docs

* chore: update

* chore: update
2023-11-14 23:44:51 +08:00
.github ci: vendor protoc (#152) 2023-11-08 21:12:00 +08:00
.sqlx chore: merge with main 2023-11-06 23:54:36 +08:00
admin_frontend feat: stop recv messages when subscribe drop (#159) 2023-11-11 12:04:52 +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 moved configuration files 2023-11-09 10:06:42 +08:00
docker ci: try with fix missing 2023-11-09 22:45:29 +08:00
libs feat: notify user via websocket after profile changed (#164) 2023-11-14 12:47:10 +08:00
migrations feat: notify user profile change (#163) 2023-11-13 22:58:18 +08:00
nginx feat: Metrics (#141) 2023-11-02 15:34:00 +08:00
src feat: notify user via websocket after profile changed (#164) 2023-11-14 12:47:10 +08:00
tests feat: notify user profile change (#163) 2023-11-13 22:58:18 +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 chore: update docs (#165) 2023-11-14 23:44:51 +08:00
Cargo.toml chore: update docs (#165) 2023-11-14 23:44:51 +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 chore: update docs (#165) 2023-11-14 23:44:51 +08:00
dev.env fix: user not allowed 2023-11-07 01:17:08 +08:00
docker-compose-dev.yml feat: Metrics (#141) 2023-11-02 15:34:00 +08:00
docker-compose.yml feat: added persistence to minio and postgresql 2023-11-09 19:15:21 +08:00
rustfmt.toml feat: ws connect (#3) 2023-05-08 19:03:50 +08:00

README.md

AppFlowy Cloud

  • Cloud Server for AppFlowy

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

Postgres

    export PGPASSWORD=password
    psql --host=localhost --username=postgres --port=5433
  • Redis
    redis-cli -p 6380

Minio

Portainer