ckan / datapusher

A standalone web service that pushes data files from a CKAN site resources into its DataStore
GNU Affero General Public License v3.0
77 stars 155 forks source link

Incorrect deployment docs #97

Closed drnextgis closed 8 years ago

drnextgis commented 8 years ago

From here:

#create a virtualenv for datapusher
sudo virtualenv /usr/lib/ckan/datapusher

But in the rest part of the document - virtual environment is not used.

amercader commented 8 years ago

@drnextgis It is used. When you run commands like:

sudo /usr/lib/ckan/datapusher/bin/pip install -r requirements.txt
sudo /usr/lib/ckan/datapusher/bin/python setup.py develop

you are running the pip version installed in the virtualenv, and installing the requirements in the virtualenv. Also the wsgi file points to the virtualenv as well.

Does this make sense?