TkTech / ckanext-cloudstorage

Implements support for resource storage against multiple popular providers via apache-libcloud (S3, Azure Storage, etc...)
MIT License
35 stars 55 forks source link

how to run paster command on production #38

Closed hammadhasandogar closed 5 years ago

hammadhasandogar commented 5 years ago

Hi @TkTech ,

paster cloudstorage initdb -c /etc/ckan/default/production.ini Nor above command neither below command is working for me sudo ckan cloudstorage initdb -c /etc/ckan/default/production.ini

It gives distribution not found error. I am running commands in following sequence

  1. Activate your CKAN virtual environment . /usr/lib/ckan/default/bin/activate
  2. Install the ckanext-cloudstorage into your virtual environment: sudo git clone https://github.com/TkTech/ckanext-cloudstorage.git cd ckanext-cloudstorage
  3. Run setup sudo python setup.py install it gives setup-tools error, so running below command before setup.py sudo apt-get install -y python-setuptools

After config update, everything works fine except the multi-part upload because of initdb command failure.

kindly guide, thanks in advance.