* chore: update docs * chore: update * chore: update |
||
|---|---|---|
| .github | ||
| .sqlx | ||
| admin_frontend | ||
| build | ||
| cert | ||
| configuration | ||
| doc | ||
| docker | ||
| libs | ||
| migrations | ||
| nginx | ||
| src | ||
| tests | ||
| .dockerignore | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Dockerfile | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| dev.env | ||
| docker-compose-dev.yml | ||
| docker-compose.yml | ||
| rustfmt.toml | ||
README.md
AppFlowy Cloud
- Cloud Server for AppFlowy
Deployment
- See deployment guide
Development
Pre-requisites
You'll need to install:
Configuration
- copy the configurations from
dev.envto.env - edit the
.envas 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
- Run the dependency servers
docker compose --file docker-compose-dev.yml up -d
- Install sqlx-cli
cargo install sqlx-cli
- Run sqlx migration
sqlx database create
sqlx migrate run
cargo sqlx prepare --workspace
- Run the server
cargo run
Run the tests
After the server is running, you can run the tests with:
cargo test
Debugging
Postgres
- PgAdmin
- OR command line:
export PGPASSWORD=password
psql --host=localhost --username=postgres --port=5433
- Redis
redis-cli -p 6380