Purpose
The Patient Set Viewer and other ACT software requires a working directory. Here the software creates and updates files for background jobs, caching, and other tasks. The software needs create and write to this working directory.
Access
In the ACT_config.php file, we have provided a default location for your working directory. It is: /opt/viewer_jobs. You can provide the correct access by:
# chmod 777 /opt/viewer_jobs
Create your own working directory
You are free to create your own working directory.
First, in the root of your ACT Web Client directory edit the ACT_config.php file. Change the working_directory to the path and directory name you plan on using
return array( 'shrine_url' => 'your_SHRINE_URL_here', 'working_directory' => '/opt/viewer_jobs', 'site_name' => 'your_site_name', 'debug_logging' => false, 'shrine_connector_logging' => false );
Second, create the directory with correct access settings:
# mkdir /opt/viewer_jobs # chmod -R a+w /opt/viewer_jobs
- Make sure you have an entry in ACT_config.php for working_directory
- Create this path on your web server
- Give write permission to the web server for this directory
For example, on your DEV server chmod 777 /opt/viewer_jobs
NO HTTP(S) access
Make sure web (HTTP) access is not allowed to this directory
Storage Needs
At least 0.5 Gigabyte of space is recommended for your working directory