AppFlowy-Cloud/README.md

1.3 KiB

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