Skip to content

Commit 6ecba14

Browse files
authored
Merge pull request #467 from PecanProject/application-template-yml
updated application.template.yml
2 parents 6ab2409 + 3efe4ca commit 6ecba14

File tree

1 file changed

+100
-26
lines changed

1 file changed

+100
-26
lines changed

config/application.yml.template

Lines changed: 100 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,90 @@
1-
admin_phone: "(999) 999-9999" # This number appears in the footer
2-
admin_email: "[email protected]" # This appears in the footer and is included in the "To:" field of administrative e-mails.
1+
# All Settings
2+
organization:
3+
name: "My Organization Name"
4+
url: #{root_path}
5+
logo_file: "my-logo.png"
36

4-
rest_auth_site_key: 'your secret key'
5-
# Note: If your site is not public (e.g., you are a developer), it is better
6-
# to use the default site key and not override it here. This is because if you
7-
# use the default site key, the caryaXX and guestuser account passwords will
8-
# work out of the box.
7+
site_identification_markup: "The name of this database"
98

10-
# CONFIGURATION SETTINGS FOR SchemaSpy. Settings here will override the
11-
# configuration file lib/tasks/schemaSpyConfig.rb if it exists. For more
12-
# information about what settings to use, run "rake -D bety:dbdocs"; and also
13-
# look in the sample configuration file lib/tasks/schemaSpyConfigTemplate.rb.
14-
#
15-
# schema_spy_settings:
16-
# java_executable: java
17-
# postgresql_driver_jar_file: some/path/to/postgresql-9.3-1103.jdbc41.jar
18-
#
19-
# settings_for_full_documentation:
20-
# schema_spy_jar_file: some/path/to/schemaSpy_5.0.0.jar
21-
# output_directory: public/db_docs # can be anything, but this is what is used for www.betydb.org,
22-
# # which makes the docs viewable at www.betydb.org/db_docs/index.html
23-
# remove_root_dir_files: false # (the default)
24-
#
25-
# settings_for_customized_documentation:
26-
# schema_spy_jar_file: some/path/to/schemaSpy.jar
27-
# output_directory: . # Always use this value for the customized documentation.
28-
# remove_root_dir_files: true # Recommended value for the customized documentation.
299

10+
# Footer
11+
12+
footer_background_image_file: "my-footer-logo.jpg"
13+
14+
## Contact Information
15+
admin_phone: "(000) 000-0000"
16+
admin_email: "[email protected]" # a test
17+
18+
citation_license_copyright_markup:
19+
20+
<p>Doe, Jane et al 'my data' doi:12345</p>
21+
22+
<p>All public data in this database made available under the <a
23+
href="http://opendatacommons.org/licenses/by/1-0/">Open Data Commons
24+
Attribution License (ODC-By) v1.0.</a> You are free to share, create, and
25+
adapt its contents. Data with an access_level field and value &lt;= 2 is not
26+
covered by this license but may be available for use with consent.</p>
27+
28+
<p>Copyright © 1999-2099 Copyright Holder Institute or Name</p>
29+
30+
sponsors:
31+
- URL: http://www.example.com
32+
title: "My institute"
33+
text: "My institute"
34+
logo_file: logo-myinstitute.png
35+
width: 246px
36+
- URL: http://www.mysponsor.gov
37+
title: "My Sponsor"
38+
text: "My Sponsor"
39+
logo_file: logo-mysponsor.png
40+
width: 145px
41+
additional_styling: "margin-left: 20%"
42+
- URL: http://www.fefifofum.gov
43+
title: "FEE FI FO FUM"
44+
text: "FEE FI FO FUM"
45+
logo_file: logo-fee-fi-fo-fum.png
46+
width: 232px
47+
- URL: http://www.foo.com
48+
title: "FOO"
49+
text: "FOO"
50+
logo_file: logo-foo.png
51+
width: 54px
52+
additional_styling: "margin-right: 40%"
53+
54+
# Home Page
55+
56+
homepage_heading: "Welcome to Super Database"
57+
58+
homepage_body:
3059

60+
lead_text:
3161

62+
Short one sentence description.
3263

64+
marked_up_block_text:
65+
66+
Three - eight sentences with more detail, justification.
67+
68+
photo:
69+
70+
file: photo-representation-of-contents.jpg
71+
72+
alt_text:
73+
74+
Photo by L. The Photographer, University of the World
75+
76+
# Miscellaneous
77+
78+
## This affects both the home page and the footer. Mostly used to turn off maps of crop model predictions that are in betydb.org:
79+
show_crop_map_links: true
80+
81+
# Override this with a secret key to run a secure site:
82+
rest_auth_site_key: 'your secret key'
83+
84+
# Note: If your site is not public (e.g., you are a developer), it is better
85+
# to use the default site key and not override it here. This is because if you
86+
# use the default site key, the caryaXX and guestuser account passwords will
87+
# work out of the box.
3388

3489
# PER-ENVIRONMENT SETTINGS
3590
#
@@ -52,3 +107,22 @@ test:
52107
production:
53108
rest_auth_site_key: 'some moderately long, unpredictable text'
54109

110+
# CONFIGURATION SETTINGS FOR SchemaSpy. Settings here will override the
111+
# configuration file lib/tasks/schemaSpyConfig.rb if it exists. For more
112+
# information about what settings to use, run "rake -D bety:dbdocs"; and also
113+
# look in the sample configuration file lib/tasks/schemaSpyConfigTemplate.rb.
114+
#
115+
# schema_spy_settings:
116+
# java_executable: java
117+
# postgresql_driver_jar_file: some/path/to/postgresql-9.3-1103.jdbc41.jar
118+
#
119+
# settings_for_full_documentation:
120+
# schema_spy_jar_file: some/path/to/schemaSpy_5.0.0.jar
121+
# output_directory: public/db_docs # can be anything, but this is what is used for www.betydb.org,
122+
# # which makes the docs viewable at www.betydb.org/db_docs/index.html
123+
# remove_root_dir_files: false # (the default)
124+
#
125+
# settings_for_customized_documentation:
126+
# schema_spy_jar_file: some/path/to/schemaSpy.jar
127+
# output_directory: . # Always use this value for the customized documentation.
128+
# remove_root_dir_files: true # Recommended value for the customized documentation.

0 commit comments

Comments
 (0)