merged private server and console to private-cloud
This commit is contained in:
39
console/mini_poem/configuration/constants.js
Normal file
39
console/mini_poem/configuration/constants.js
Normal file
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Created by Strawmanbobi
|
||||
* 2014-08-30
|
||||
*/
|
||||
|
||||
// global constants describes the ability sets of the POEM framework
|
||||
|
||||
global.VERSION = "0.0.4";
|
||||
global.ICODE = "PoEM~ V0.0.4";
|
||||
|
||||
// runtime environment
|
||||
global.ENV = "dev";
|
||||
|
||||
// generic server configuration
|
||||
global.LISTEN_PORT = "8080";
|
||||
global.SERVER_ADDRESS = "127.0.0.1";
|
||||
|
||||
// local environment
|
||||
global.FILE_TEMP_PATH = "";
|
||||
|
||||
// db : MySQL
|
||||
global.MYSQL_DB_SERVER_ADDRESS = "127.0.0.1";
|
||||
global.MYSQL_DB_NAME = "default_db";
|
||||
global.MYSQL_DB_USER = "root";
|
||||
global.MYSQL_DB_PASSWORD = "root";
|
||||
|
||||
// cache : redis
|
||||
global.REDIS_HOST = "localhost";
|
||||
global.REDIS_PORT = "6379";
|
||||
global.REDIS_PASSWORD = "";
|
||||
|
||||
// external : python path
|
||||
global.PYTHON_PATH = "";
|
||||
|
||||
// HTTP request
|
||||
global.EXTERNAL_SERVER_ADDRESS = "127.0.0.1";
|
||||
global.EXTERNAL_SERVER_PORT = "80";
|
||||
|
||||
global.TOKEN_TTL = 60;
|
||||
Reference in New Issue
Block a user