AppFlowy-Cloud/admin_frontend
2024-10-16 14:00:03 +08:00
..
assets feat: oauth login box (#874) 2024-10-16 14:00:03 +08:00
src feat: oauth server (#866) 2024-10-15 13:16:47 +08:00
templates feat: oauth login box (#874) 2024-10-16 14:00:03 +08:00
tests feat: oauth server (#866) 2024-10-15 13:16:47 +08:00
Cargo.toml feat: oauth server (#866) 2024-10-15 13:16:47 +08:00
dev.env docs: Doc improvement (#256) 2024-01-12 16:01:16 +08:00
Dockerfile feat(admin): expose container port via env var 2024-09-04 12:35:02 -04:00
README.md feat: dynamic load oauth login options if supported by gotrue 2023-11-22 22:45:15 +08:00

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