AppFlowy-Cloud/admin_frontend
Zack 615b402782
docs: Doc improvement (#256)
* 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
2024-01-12 16:01:16 +08:00
..
assets feat: add favicon for admin frontend 2023-11-28 11:54:39 +08:00
src feat: return request id to client api (#186) 2023-11-30 07:40:52 +08:00
templates fix: syntax 2024-01-09 14:04:01 +08:00
Cargo.lock feat: add admin frontend project 2023-10-06 18:11:15 +08:00
Cargo.toml feat: revamp storage api (#251) 2024-01-11 00:32:11 +08:00
Dockerfile feat: Admin frontend/refactor (#130) 2023-10-22 12:02:16 +08:00
README.md feat: dynamic load oauth login options if supported by gotrue 2023-11-22 22:45:15 +08:00
dev.env docs: Doc improvement (#256) 2024-01-12 16:01:16 +08:00

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_frontend directory
  • 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-recreate flag for non build changes to take effect