diff options
Diffstat (limited to 'example/config/config.ini')
-rw-r--r-- | example/config/config.ini | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/example/config/config.ini b/example/config/config.ini new file mode 100644 index 0000000..e95b04c --- /dev/null +++ b/example/config/config.ini | |||
@@ -0,0 +1,47 @@ | |||
1 | ; The Const section allows us to define some basic information that we | ||
2 | ; will use throughout our configuration. We will provide examples for | ||
3 | ; setting the base url of the ROBUST server and the public and private ports | ||
4 | ; it uses. Changing the values of the constants will set the operating | ||
5 | ; parameters thoughout the configuration. Other constants that may prove | ||
6 | ; to be useful may be added to the followin section. They may be | ||
7 | ; referenced anywhere in the configuration by using ${Const|Name}. One | ||
8 | ; such use is providing a base path for setting locations that ROBUST | ||
9 | ; uses to write data. | ||
10 | |||
11 | ; Also put grid specific stuff here. | ||
12 | |||
13 | |||
14 | [Paths] | ||
15 | AssetsPath = "../../AssetFiles" | ||
16 | BackupPath = "../../backups" | ||
17 | CachePath = "../../caches" | ||
18 | ConfigPath = "../../config" | ||
19 | DbPath = "../../db" | ||
20 | LogPath = "../../logs" | ||
21 | WebPath = "../../web" | ||
22 | |||
23 | [Const] | ||
24 | MOTD = "Welcome to your local grid." | ||
25 | |||
26 | GridName = "localhost Grid" | ||
27 | ShortGridName = "lg" | ||
28 | |||
29 | ; For a grid these will usually be the externally accessible IP/DNS | ||
30 | ; name and use default public port 8002 and default private port 8003 | ||
31 | ; For a standalone this will usually be the externally accessible IP/DNS | ||
32 | ; name and use default public port 9000. The private port is not used | ||
33 | ; in the configuration for a standalone. | ||
34 | BaseHostname = "127.0.0.1" | ||
35 | HostName = "localhost" | ||
36 | BaseURL = http://${Const|BaseHostname} | ||
37 | GridURL = http://${Const|BaseHostname} | ||
38 | |||
39 | PublicPort = "8002" | ||
40 | PrivatePort = "8003" | ||
41 | |||
42 | ; The public port of the ROBUST asset server, which might be different. | ||
43 | AssetServerPort = "8003" | ||
44 | |||
45 | ; Database credentials. | ||
46 | DataProvider = "OpenSim.Data.MySQL.dll" | ||
47 | ConnectionString = "Data Source=MYSQL_HOST;Database=MYSQL_DB;User ID=MYSQL_USER;Password=MYSQL_PASSWORD;Old Guids=true;" | ||