Difference between revisions of "AMI Configuration Guide"
(Created blank page) |
Tag: visualeditor-switched |
||
Line 1: | Line 1: | ||
+ | = IMPORTANT - TO OVERRIDE PROPERTIES = | ||
+ | '''Overview''' | ||
+ | Create a config/'''local.properties''' file and place each property to override on its own line in the format '''''property.name=value''''' | ||
+ | |||
+ | '''Step By Step''' | ||
+ | |||
+ | For amione, browse to the 3forge > amione > config directory and create a new, empty '''local.properties''' file. For amicenter, amirelay and amiweb browse to the config directory. | ||
+ | |||
+ | '''Hint''' | ||
+ | |||
+ | You can copy the default.properties to local.properties to get started with good default values. | ||
+ | |||
+ | '''Why we do this''' | ||
+ | |||
+ | So that even if you download and update a new version of AMI One, this file will not be overwritten (we will never include a local.properties file in the zip) | ||
+ | |||
+ | '''Sample local.properties''' | ||
+ | |||
+ | <span style="font-family: courier new; color: green;">#My local.properties located under config directory</span> | ||
+ | |||
+ | <span style="font-family: courier new; color: green;">#Note, lines starting with pounds are comments</span> | ||
+ | |||
+ | <span style="font-family: courier new; color: green;">#Override the http port to standard port</span> | ||
+ | |||
+ | <span style="font-family: courier new; ">http.port=</span><span style="font-family: courier new; color: blue;">80</span> | ||
+ | |||
+ | <span style="font-family: courier new; color: green;">#Override the location of the access.txt file</span> | ||
+ | |||
+ | <span style="font-family: courier new; color: green;">users.access.file=/</span><span style="font-family: courier new; color: blue;">home/myname/access.txt</span> |
Revision as of 13:53, 18 March 2021
IMPORTANT - TO OVERRIDE PROPERTIES
Overview
Create a config/local.properties file and place each property to override on its own line in the format property.name=value
Step By Step
For amione, browse to the 3forge > amione > config directory and create a new, empty local.properties file. For amicenter, amirelay and amiweb browse to the config directory.
Hint
You can copy the default.properties to local.properties to get started with good default values.
Why we do this
So that even if you download and update a new version of AMI One, this file will not be overwritten (we will never include a local.properties file in the zip)
Sample local.properties
#My local.properties located under config directory
#Note, lines starting with pounds are comments
#Override the http port to standard port
http.port=80
#Override the location of the access.txt file
users.access.file=/home/myname/access.txt