source: trunk/src/testing/sageConfig/fileServer/fileServer.conf @ 4

Revision 4, 1.3 KB checked in by ajaworski, 13 years ago (diff)

Added modified SAGE sources

Line 
1### FILE SERVER CONFIG FILE
2### Author: Ratko Jagodic
3### January, 2006
4
5
6### first we specify the top most folder where all the files are stored
7### (relative to your where the file_server.py is executed from... otherwise specify an absolute path)
8FILES_DIR = fileLibrary
9
10
11
12### now we specify which types of files we support
13### you specify them as:
14### "type:"type = list_of_file_extensions
15### the "type" will become an official type of those files so use the same one throughout
16type:image = .jpg .jpeg .gif .png .tif .tiff .bmp .pcx .rgb .rgba .ico
17type:video = .avi .mpg .mpeg .mov .mp4
18#type:text = .txt
19type:pdf = .pdf
20
21
22
23### finally, we specify the applications used to run each one of those types
24### basically, these lines will be read by the file server and sent to the SAGE UI which
25### will in turn send them to SAGE to execute them
26### specify all the parameters you need to get your stuff running
27### since this file is read every time a file is executed, there is no need to restart
28### the server when you modify this file
29### the format is (make sure that the type matches the one specified above):
30### "app:"type = app_binary_name param1 param2 param3 ...
31app:image = imageviewer
32app:video = mplayer -nosound -loop 0 -quiet -vo sage
33app:pdf = pdfviewer
34#app:pdf = sagepdf
35#app:text = imageviewer
Note: See TracBrowser for help on using the repository browser.