#!/bin/sh
set -e

npm install -g os-types moment underscore lodash lodash-addons
ls -la /usr/lib/node_modules
rm celerybeat-schedule || ls -la
pwd
pip3 install -U git+git://github.com/frictionlessdata/datapackage-pipelines.git
pip3 install -U git+git://github.com/openspending/datapackage-pipelines-fiscal.git
cd eu-structural-funds
export PYTHONPATH=$PYTHONPATH:`pwd`
export DATAPIPELINES_PROCESSOR_PATH=`pwd`/common/processors
pip3 install -r requirements.txt
python3 -m common.bootstrap update
cd ..
dpp init
dpp
python3 -m celery -b amqp://guest:guest@mq:5672// --concurrency=4 -B -A datapackage_pipelines.app -Q datapackage-pipelines -l INFO worker &
dpp serve

#!/bin/sh
set -e

npm install -g os-types moment underscore lodash lodash-addons
ls -la /usr/lib/node_modules
rm celerybeat-schedule || ls -la
pwd
pip3 install -U git+git://github.com/frictionlessdata/datapackage-pipelines.git
pip3 install -U git+git://github.com/openspending/datapackage-pipelines-fiscal.git
pip3 install -U git+git://github.com/akariv/tabulator-py.git@feature/fake-user-agent
cd eu-structural-funds
export PYTHONPATH=$PYTHONPATH:`pwd`
export DATAPIPELINES_PROCESSOR_PATH=`pwd`/common/processors
pip3 install -r requirements.txt
python3 -m common.bootstrap update
cd ..
dpp init
dpp
python3 -m celery -b amqp://guest:guest@mq:5672// --concurrency=4 -B -A datapackage_pipelines.app -Q datapackage-pipelines -l INFO worker &
dpp serve

Use correct version of tabulator
Use correct version of tabulator
