These instructions assume you already have CKAN installed on this server in the default location described in the CKAN install documentation (/usr/lib/ckan/default). If this is the case, you should be able to run the following commands directly.
You will also need to install Docker and Docker Compose.
Follow the Datapusher plus configurations and also set up the database.
- Get the code:
git clone https://github.com/dathere/datapusher-plus-docker.git
cd datapusher-plus-docker
- Edit the
docker-compose.yaml
and replace the postgres password:
nano docker-compose.yaml
- Configure your
.env
as required:
nano example.env
- Configure the tests Fork this repo https://github.com/dathere/testing-datapusher-plus Change the default values in config.ini and add any custom tests Configure the repo in the Dockerfile
nano Dockerfile
- Run the following Docker commands:
sudo systemctl enable docker
docker compose build
docker compose up -d
- Finally,the datapusher should be running on http://datapusher:8800
To test the Docker, you can use the following test script available on GitHub: test script.