Home > Topics > ps|ocm (Programming Science Offline Content Manager) Site Index
Published September 15, 2023
The file psocm.jar is used to run the actual program that compiles the web site. This file should sit at the main directory where your source files are at as it uses that directory to look for which files need to go into the final site.
In most cases, to run the program, all you need to do is navigate to the root directory and double-click on psocm.jar. THis will cause the program to run against the current directory and generate the output that is needed to load into the web server. (This assumes that Java is already installed. If it is not, please see ps|ocm - Documentation for instructions.
If double-clicking on the program does not work, then simply open a command prompt, navigate to your directory, and then type in "java psocm.jar" to run the program.Once the program has completed, it will show you any error messages that may have occured. If the program gives you an "error" message, the output site will not be usable. If the program gives you a "warning" message, the output will still be usable, but the warnings will show you potential issues with navigation or display.
The output will appear in the "_output_" folder within your file structure. It will be a separate folder within the "_output_" folder with today's date and time as the folder name. If you wish to view the output now, simply navigate to that folder and open the "index.html" file to show the landing page and navigate from there. Otherwise, the files within this directory can be uploaded to your web hosting provider's site using the tools utilized by your providor.
To upgrade ps|ocm to the latest version, simply download it again and copy the "psocm.jar" file from the newly downloaded Zip file into your working directoy, replacing the current "psocm.jar" file. We strive to maintain backward compatibility between the versions and will make notes if something special needs to be done in this section.
No comments yet.