File Editor App¶
This Open OnDemand application provides a web-based file editor that allows the user to remotely edit files on the HPC center’s local file system. This application is built with the Ruby on Rails web application framework.
This app is deployed on the OnDemand Server under the following path on the local file system:
and can be accessed with the following browser request:
Launches the File Editor App with the file corresponding to the
pathin the editor.
GET /pun/sys/file-editor/edit/home/user/my_file HTTP/1.1 Host: ondemand.hpc.edu
Launches the File Editor App with the contents of the file
/home/user/my_filein the editor.
How it Works¶
Requirements needed for the File Editor App to work on your local HPC network:
- OnDemand Server
- Shared File System
Fig. 17 details how the File Editor App works on a local HPC system. The user’s PUN running on the OnDemand Server launches the Ruby on Rails File Editor app through Passenger as the user. The File Editor app then interacts with the local and shared file systems for reading and writing the file contents.