You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jaewook Byun edited this page Feb 26, 2024
·
2 revisions
In bootstrapping, Chronoweb loads 'configuration.json'
(1) Runnable Jar: as a first common-line argument
(1) IDE: in a src/main/resources folder
An example of the self-explainable configuration files is shown as follows:
{
"_port" : "an integer value for port (default 8080)",
"port" : 80,
"_data_storage_type" : "{memory|persistent}",
"data_storage_type" : "memory",
"_db_name" : "mongodb database name to be used if data_storage_type is persistent",
"db_name" : "chronoweb",
"_db_connection_string" : "mongo connection string if data_storage_type is persistent",
"db_connection_string" : "mongodb://localhost:27017",
"_number_of_verticles" : "The number of cores (default is cores + 1) as integer value",
"number_of_verticles" : 1,
"_gamma_base_directory" : "The root directory for gamma tables",
"gamma_base_directory" : "d:\\kairos"
}