EzyFox Server: Làm thế nào để tạo được nhiều zone, nhiều app, nhiều plugin trên server?
monkeyEnlightened
EzyFox Server: Làm thế nào để tạo được nhiều zone, nhiều app, nhiều plugin trên server?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Tạo thông qua xml: em có thể đọc bài viết này trước.
– Sau đó em có thể tải ezyfox-server-full bản latest tại đây
– Tiếp theo em có thể tạo ra nhiều file zone.xml và đưa chúng vào folder
ezyfox-server/settings/zones
– Ở mỗi zone thì em đều có thể cấu hình để add các app và plugin khác nhau
– Tiếp theo em sẽ mở file
ezyfox-server/settings/ezy-settings.xml
và thêm các zone và tagzones
kiểu thế này.2. Tạo thông qua hàm main và lớp startup.
Em có thể hàm zone của lớp EzySettingsBuilder này. Nó chính là để add them 1 zone vào server. Vậy em có thể tạo ra nhiều zone và sau đó gọi hàm này để add thêm 1 zone em ạ. Tương tự như vậy thì lớp
ZoneSettingBuilder
cũng có các hàm application và plugin để em add được nhiều app và plugin nhé.