Avatar
0
monkey Enlightened
monkey Enlightened
EzyFox Server: Làm thế nào để tạo được nhiều zone, nhiều app, nhiều plugin trên server?
EzyFox Server: Làm thế nào để tạo được nhiều zone, nhiều app, nhiều plugin trên server?
  • Answer
ezyfox-server
Remain: 5
1 Answer
Avatar
monkey Enlightened
monkey Enlightened
  1. Tạo thông qua xml: em có thể đọc <a href="https://youngmonkeys.org/ezyfox-server-architecture/" target="_blank" rel="noopener nofollow ugc">bài viết này</a> trước.
  2. Sau đó em có thể tải ezyfox-server-full bản latest <a href="https://resources.tvd12.com/" target="_blank" rel="noopener nofollow ugc">tại đây</a>
  3. Tiếp theo em có thể tạo ra nhiều file zone.xml và đưa chúng vào folder <code>ezyfox-server/settings/zones</code>
  4. Ở mỗi zone thì em đều có thể cấu hình để add các app và plugin khác nhau
  5. Tiếp theo em sẽ mở file <code>ezyfox-server/settings/ezy-settings.xml</code> và thêm các zone và tag <code>zones</code> kiểu <a href="https://github.com/youngmonkeys/ezyfox-server/blob/master/ezyfox-server-core/src/main/resources/ezy-settings.xml#L88" target="_blank" rel="noopener nofollow ugc">thế này</a>.
  6. Tạo thông qua <a href="https://github.com/tvd12/ezyfox-server-example/blob/master/hello-world/server/hello-world-startup/src/main/java/com/example/hello_world/startup/HelloWorldStartup.java" target="_blank" rel="noopener nofollow ugc">hàm main và lớp startup</a>.
  • 0
  • Reply