Name: migdar-data-pipelines
Owner: The Public Knowledge Workshop
Description: collecting data about migdar
Created: 2018-02-28 08:15:46.0
Updated: 2018-02-28 08:36:22.0
Pushed: 2018-04-08 07:52:49.0
Homepage: null
Size: 14
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Most pipelines are available to run locally with minimal infrastructure dependencies.
Install some dependencies (following works for latest version of Ubuntu):
apt-get install -y python3.6 python3-pip python3.6-dev libleveldb-dev libleveldb1v5
pip3 install pipenv
install the pipeline dependencies
nv install
activate the virtualenv
nv shell
List the available pipelines
run a pipeline
run <PIPELINE_ID>
er pull orihoch/knesset-data-pipelines
er run -it --entrypoint bash -v `pwd`:/pipelines orihoch/knesset-data-pipelines
Continue with Running the pipelines locally
section above
You can usually fix permissions problems on the files by running inside the docker chown -R 1000:1000 .
il -m rsync -r gs://knesset-data-pipelines/hasadna-migdar-data/ori-sync-data ./data
Replace
il -m rsync -r ./data gs://knesset-data-pipelines/hasadna-migdar-data/<YOUR_NAME>-sync-data