running lemmagen in concordia-server container

This commit is contained in:
rjawor 2019-05-19 13:16:31 +02:00
parent d289a24412
commit 817a3028a4
2 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,7 @@ bool SocketLemmatizer::_connect() {
throw ConcordiaException("Could not create socket for the lemmatizer."); throw ConcordiaException("Could not create socket for the lemmatizer.");
} }
std::string address = "lemmagen"; std::string address = "127.0.0.1";
//setup address structure //setup address structure
if(inet_addr(address.c_str()) == -1) { if(inet_addr(address.c_str()) == -1) {

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
mono "@LEMMAGEN_BINARIES_PATH@"/LemmaGenSockets.exe &
spawn-fcgi -p 8000 -n "@COMPILED_BINARIES_PATH@"/concordia_server_process spawn-fcgi -p 8000 -n "@COMPILED_BINARIES_PATH@"/concordia_server_process