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
I am trying to install the WSD project(https://github.com/uhh-lt/wsd)
When I execute the command './wsd model:donwload' and command './wsd web-app:start', everything seems fine, and the three containers started, but when I enter into the shell of the postgresql, I find there are three databases(postgres, template0,template1),but i find no tables in each of tables. and when I execute sudo ./wsd web-app:test, then there is following bug:
[ERROR] API responded with status code '500'.
For more details run:
curl 'http://localhost:9000/predictSense' -H 'content-type: application/json' -d '{"word":"python","context":"Pyhthon is a programming language.","model":"cos_traditional_self"}'
and my docker-compose.yml is like following:
version: '3'
services:
db:
image: postgres:9.5.5
volumes:
# Assumes you downloaded postgres data to the folder ./pgdata
- ./pgdata/data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=p0stgres
api:
build:
context: api/target/docker/stage
environment:
- APPLICATION_SECRET=change_me
- WSP_DB_SERVER_URL=jdbc:postgresql://db
- WSP_FLICKR_API_KEY=change_me
- WSP_BING_API_KEY=change_me
- WSP_IMAGE_SEARCH_ENGINE=bing
- WSP_API_PUBLIC_URL=set_me
- WSP_API_BING_IMAGE_FOLDER=/imgdata/bing
volumes:
- ./imgdata/bing:/imgdata/bing
depends_on:
- db
restart: always
web:
build:
context: web
args:
public_url: "" # Run the web application on the root namespace
api_host: "set_me"
external_api_endpoint: "http://ltmaggie.informatik.uni-hamburg.de/wsd-server/predictWordSense"
image_api_name: "bing"
depends_on:
- api
urgent for your help
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to install the WSD project(https://github.com/uhh-lt/wsd)
When I execute the command './wsd model:donwload' and command './wsd web-app:start', everything seems fine, and the three containers started, but when I enter into the shell of the postgresql, I find there are three databases(postgres, template0,template1),but i find no tables in each of tables. and when I execute sudo ./wsd web-app:test, then there is following bug:
[ERROR] API responded with status code '500'.
For more details run:
curl 'http://localhost:9000/predictSense' -H 'content-type: application/json' -d '{"word":"python","context":"Pyhthon is a programming language.","model":"cos_traditional_self"}'
and my docker-compose.yml is like following:
version: '3'
services:
db:
image: postgres:9.5.5
volumes:
# Assumes you downloaded postgres data to the folder ./pgdata
- ./pgdata/data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=p0stgres
api:
build:
context: api/target/docker/stage
environment:
- APPLICATION_SECRET=change_me
- WSP_DB_SERVER_URL=jdbc:postgresql://db
- WSP_FLICKR_API_KEY=change_me
- WSP_BING_API_KEY=change_me
- WSP_IMAGE_SEARCH_ENGINE=bing
- WSP_API_PUBLIC_URL=set_me
- WSP_API_BING_IMAGE_FOLDER=/imgdata/bing
volumes:
- ./imgdata/bing:/imgdata/bing
depends_on:
- db
restart: always
web:
build:
context: web
args:
public_url: "" # Run the web application on the root namespace
api_host: "set_me"
external_api_endpoint: "http://ltmaggie.informatik.uni-hamburg.de/wsd-server/predictWordSense"
image_api_name: "bing"
depends_on:
- api
urgent for your help
The text was updated successfully, but these errors were encountered: