concordia-server configured to use internal db and lemmagen
This commit is contained in:
parent
052bcdbb78
commit
a0a0720c74
@ -74,11 +74,11 @@ set(PHRASE_LOG_FILE_PATH "${concordia-server_SOURCE_DIR}/logs/phrase-searches.js
|
||||
# --------------
|
||||
# db settings
|
||||
# --------------
|
||||
set (DB_NAME "concordia_server")
|
||||
set (DB_NAME "concordia_db")
|
||||
set (DB_USER "concordia")
|
||||
set (DB_PASSWORD "concordia")
|
||||
set (DB_HOST "localhost")
|
||||
set (DB_PORT "6543")
|
||||
set (DB_HOST "concordia-postgres")
|
||||
set (DB_PORT "5432")
|
||||
|
||||
configure_file (
|
||||
"${concordia-server_SOURCE_DIR}/concordia-server/config.hpp.in"
|
||||
|
@ -24,7 +24,7 @@ bool SocketLemmatizer::_connect() {
|
||||
throw ConcordiaException("Could not create socket for the lemmatizer.");
|
||||
}
|
||||
|
||||
std::string address = "127.0.0.1";
|
||||
std::string address = "lemmagen";
|
||||
|
||||
//setup address structure
|
||||
if(inet_addr(address.c_str()) == -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user