Skip to content

mnafshin/opal-ckan-docker

 
 

Repository files navigation

opal-ckan-docker

CKAN customized for OPAL project.

How to use

  1. Create .env file in the repo root with the following contents:
$ cat .env
CKAN_RECAPTCHA_PUBLICKEY=6Le...AIB
CKAN_RECAPTCHA_PRIVATEKEY=6Le...Gli
CRAWLER_TRIPLESTORE_USERNAME=...
CRAWLER_TRIPLESTORE_PASSWORD=...
CRAWLER_TRIPLESTORE_URL=...

You can get a recaptcha key at https://www.google.com/recaptcha - make sure to select recaptcha v2 / "invisible" as an option. No need to specify a host if you run it at localhost.

all variables are listed in env_sample file (You must set appropriate values for them).

  1. Make sure that the ckan-storage directory has write permissions by all users. This can be enforced with:
$ chmod 777 ckan-storage
  1. Start-up CKAN
docker-compose up -d
  1. Create ckan admin user, initializing harvesting DB, and setting up Mesasge brokers by running afterRun.sh (Run them one by one (or run the file) after bringing up all services in previous step)

About

CKAN customized for OPAL project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 62.5%
  • Shell 37.5%