-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.php
26 lines (20 loc) · 932 Bytes
/
config.example.php
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
<?php
/** Configuration **/
$RestServerMode = 'debug'; // 'debug' or 'production'
// 'MySQL' or 'SimpleDB'
Tools::SafeDefine('StorageMethod', 'MySQL');
//Tools::SafeDefine('StorageMethod', 'SimpleDB');
// MySQL configuration
//Tools::SafeDefine('MySqlDatabaseHostName', 'mysql.cloudified.net');
Tools::SafeDefine('MySqlDatabaseHostName', 'localhost');
Tools::SafeDefine('MySqlDatabaseName', 'restserver-1.01');
Tools::SafeDefine('MySqlDatabaseUserName', 'restserver');
Tools::SafeDefine('MySqlDatabasePassword', '');
// SimpleDB configuration
Tools::SafeDefine('SimpleDbAwsAccessKey', '');
Tools::SafeDefine('SimpleDbAwsSecretKey', '');
Tools::SafeDefine('SimpleDbDomainPrefix', 'RestServer');
// Set the host to choose the AWS region.
// See: http://docs.amazonwebservices.com/general/latest/gr/index.html?rande.html#sdb_region
Tools::SafeDefine('SimpleDbHost', 'sdb.eu-west-1.amazonaws.com' );
/** End configuration **/