* feat: update docs and self host deploy configs * feat: use default ports for dev * feat: revamp self host * feat: use nginx resolver * feat: cargo fmt * feat: ci integration test with nginx routing * feat: cargo fmt * feat: make docker ci use deploy env rather than dev env * feat: update api external url for deploy test * fix: if sqlx is set to offline dont run casbin for tests * fix: set api external url for tests * fix: ignore sqlx test with cfg * fix: sqlx tests * fix: test use env * feat: update the docs on optional components |
||
|---|---|---|
| .. | ||
| assets | ||
| src | ||
| templates | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Dockerfile | ||
| README.md | ||
| dev.env | ||
README.md
Admin Frontend
Partial Local Environment
- Go to source root folder of
AppFlowy-Cloud - Start running locally dependency servers:
docker compose --file docker-compose-dev.yml up -d - Start SQLX migrations
cargo sqlx database create && cargo sqlx migrate run && cargo sqlx prepare --workspace - Start AppFlowy-Cloud Server
cargo run - Go back to
AppFlowy-Cloud/admin_frontenddirectory - Run
cargo watch -x run -w ., this watch for source changes, rebuild and rerun the app.
Full Local Integration Environment
- Start the whole stack:
docker compose up -d - Go to web server
- After editing source files, do
docker compose up -d --no-deps --build admin_frontend - You might need to add
--force-recreateflag for non build changes to take effect