Skip to content

Odeuropa/explorer

Repository files navigation

Odeuropa Explorer

About

Repository for Odeuropa Explorer with configuration files for D2KLab/explorer.

Requirements

How to run

  • Download this repository:
git clone https://github.com/Odeuropa/explorer
cd explorer
  • Copy the file .env.default into a new file called .env and edit the variables based on your environment.

  • Start in development mode:

docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
  • Start in production mode:
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up
  • How to rebuild and start in production:
docker-compose -f docker-compose.yml -f docker-compose.prod.yml build --no-cache
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up --build --force-recreate -d

How to clear redis cache

Sometimes clearing the redis cache might be required if the Knowledge Graph has been recently updated. This can be done using the following command:

docker-compose exec redis redis-cli flushall

License

Odeuropa Explorer is Apache licensed.