Installing the command line push application for IBM Script Portlet V 1.3
You can push files from a directory to the Script Portlet. You must first install the push application.
Before you begin
Procedure
- Find sp_cmdline.zip in the compressed file that contains the Script Portlet PAA file.
- Extract sp_cmdline.zip.
- From the extracted directory, run sp.bat in Windows or sp.sh in Linux or OSX to verify that Java is working correctly.
- Set the default values in sp-config.json in the extracted folder. You can set server properties such as the URL, user name, password, and wcmSiteArea properties in this file. Those defaults are used anytime you run the sp push command.
- Add the extracted folder to the system path so that you can run sp push from any application folder. If you add the folder to the system path, you do not need the argument that specifies the application root folder.