How to develop Etherpad plugin


Hello,
          In this blog i show you how to run etherpad on local. Also how to deploy the plugin for that. You have to  follow the video as well as steps to deploy the plugin.



===========
Steps to follow
===========

1. First of all copy the Source From Github : github.com/ether/etherpad-lite/tree/deve­lop

2. Extract the file.

3. Open the terminal and go to perticular folder

4. Start the server using : bin/run.sh Note : First time it take more time and then it run on specified port. - Defualt Port is : 0.0.0.0:9001

5. Now we Develop plugin . - suppose our problem is after init pad get focus and we dont want this , so what to do for that ?? -Create Folder Structure like on : https://github.com/ether/etherpad-lit...

6. In our case we have to disable the focus so i have to use : "aceEditEvent" client Hook -You can choose any hook as per your requirement client or server - In our case i just set null focus in the js      file.

7. Put your plugin under the "node_modules".

8. Now see the Folder structure and code in video

9. After developing the plugin to install use command : npm install node_module/ep_pluginname 

10. Again start the server and see the effect it will not get focus after loading.

Comments