OTA server for vim

I want to setup an ota server for vim to make updating through ota possible. I have read Amlogic document for setting up an ota server but the document is not helpful because it has used some files which, I think, Is not public and I couldn’t have found those files. I want to know that what I must do at server-side to make ota update possible?
Thanks

https://source.android.com/devices/tech/ota