AppFlowy-Cloud/admin_frontend
Nathan.fooo 0e57de98d8
refactor: Access control (#361)
* refactor: access level

* refactor: access control

* refactor: enforce action

* refactor: collab cache

* chore: fix test

* chore: fix test

* chore: fix test

* chore: fix test

* chore: commit migration file

* chore: commit migration file
2024-03-03 12:55:12 +08:00
..
assets feat: add favicon for admin frontend 2023-11-28 11:54:39 +08:00
src refactor: Access control (#361) 2024-03-03 12:55:12 +08:00
templates chore: config module 2024-02-08 14:19:57 +08:00
Cargo.lock feat: add admin frontend project 2023-10-06 18:11:15 +08:00
Cargo.toml refactor: Access control (#361) 2024-03-03 12:55:12 +08:00
Dockerfile fix: admin frontend libssl 2024-01-19 11:24:43 +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