forked from solgenomics/sgn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsgn.conf
186 lines (152 loc) · 5.84 KB
/
sgn.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
#### most commonly altered config variables ####
#is this a production server?
production_server 0
#default database connection info
dbhost db.sgn.cornell.edu
dbname cxgn
dbuser web_usr
#dbpass set_this_here
# who is the web server user for chowning and emailing. need to set
# these manually under Apache mod_perl for example, because the server
# runs under a different user than when it starts.
www_user __USERNAME__
www_group __GROUPNAME__
# when true, server removes its tempfiles when the app is started
clear_tempfiles_on_restart 1
##### other config variables #####
dbsearchpath sgn
dbsearchpath public
dbsearchpath annotation
dbsearchpath genomic
dbsearchpath insitu
dbsearchpath metadata
dbsearchpath pheno_population
dbsearchpath phenome
dbsearchpath physical
dbsearchpath tomato_gff
dbsearchpath biosource
dbsearchpath gem
<DatabaseConnection sgn_test>
#password set_this_please
dsn dbi:Pg:host=localhost;dbname=cxgn
user postgres
search_path public
search_path sgn
search_path annotation
search_path genomic
search_path insitu
search_path metadata
search_path pheno_population
search_path phenome
search_path physical
search_path tomato_gff
search_path biosource
search_path gem
</DatabaseConnection>
### backcompat variables for the various static content types
# relative URL and absolute path for static datasets
static_datasets_url /data
static_datasets_path /data/prod/public
# relative URL and absoluate path for static site content
static_content_url /static_content
static_content_path /data/prod/public/sgn_static_content
homepage_files_dir /data/prod/public/sgn_static_content/homepage
# this needs to be here rather than in the CGI controller itself to
# work around a bug in all but the most recent
# Catalyst::Controller::CGIBin
<Controller::CGI>
cgi_dir __path_to(cgi-bin)__
</Controller::CGI>
<View::Email::ErrorEmail>
<default>
content_type text/plain
from [email protected]
charset utf-8
</default>
dump_skip_class Catalyst Catalyst::Stats DBIx::Class::Schema DBIx::Class::ResultSet DBIx::Class::Row
</View::Email::ErrorEmail>
# should we send emails, if we are a production server? this can be
# used to turn off emails if we are being bombarded.
admin_email [email protected]
feedback_email [email protected]
bugs_email [email protected]
email [email protected]
disable_emails 0
# URL of the cnaonical, main production site
main_production_site_url http://solgenomics.net
#is there a system message text file somewhere we should be displaying?
system_message_file
# defaults to /tmp/<user>/SGN-site
tempfiles_base
#R qtl tempfiles (must be cluster accessible)
r_qtl_temp_path /data/prod/tmp/r_qtl___USERNAME__
#allow people to log in?
disable_login 0
# where to run cluster jobs
web_cluster_queue
#is this a mirror of SGN, or the real thing?
is_mirror 0
# how to find cosii_files for markerinfo.pl
cosii_files /data/cosii2
# log files, ABSOLUTE PATHS
error_log /var/log/sgn-site/error.log
access_log /var/log/sgn-site/access.log
rewrite_log /var/log/sgn-site/rewrite.log
# paths to stuff
hmmsearch_location hmmsearch
intron_finder_database /data/prod/public/intron_finder_database
trace_path /data/prod/public/chromatograms
image_dir /images/image_files
image_path /data/prod/public/images
tempfiles_subdir /static/documents/tempfiles
submit_dir /data/shared/submit-uploads
programs_subdir /programs
documents_subdir /documents
conf_subdir /conf
support_data_subdir /support_data
#currently our cookies encrypt stuff, so this is just a random string to use to do that
cookie_encryption_key bo9yie2JeeVee6ouAhch9aomeesieJ3iShae8aa8
# where the genefamily info is stored
genefamily_dir /data/prod/private/genomes/genefamily/
<feature SGN::Feature::FeaturePages>
enabled 1
</feature>
<feature SGN::Feature::LocusPages>
enabled 1
</feature>
# default GBrowse2 configuration, for a Debian gbrowse2 installation
<feature SGN::Feature::GBrowse2>
enabled 1
perl_inc /usr/share/gbrowse/lib/perl5
tmp_dir /var/tmp/gbrowse
cgi_url /gbrowse/bin
static_url /gbrowse/static
run_mode fcgi
cgi_bin /usr/share/gbrowse/cgi-bin
static_dir /usr/share/gbrowse/htdocs
</feature>
# default ITAG config
<feature SGN::Feature::ITAG>
enabled 1
pipeline_base /data/shared/tomato_genome/itagpipeline/itag
</feature>
cview_db_backend cxgn
#how to find blast stuff
blast_path ""
blast_db_path /data/shared/blast/databases/current
#the shared temp directory used by cluster nodes
cluster_shared_tempdir /data/prod/tmp
#how verbose we want the warnings to be in the apache error log
verbose_warnings 1
# Insitu file locations
insitu_fullsize_dir /data/prod/public/images/insitu/processed
insitu_fullsize_url /data/images/insitu/processed
insitu_display_dir /data/prod/public/images/insitu/display
insitu_display_url /data/images/insitu/display
insitu_input_dir /data/prod/public/images/insitu/incoming
#path to our production_ftp site
ftpsite_root /data/prod/public
ftpsite_url ftp://ftp.solgenomics.net
#path to the pucebaboon temperature sensor file:
pucebaboon_file /data/prod/public/digitemp.out