You can refer this link for setting up basic development environment for SAP UI5:
Basic Development environment for SAPUI5
To setup local Development with Eclipse, you should refer this:
UI5 with Eclipse