Commit b66bf691 authored by Nicolas Joyard's avatar Nicolas Joyard

Update bin scripts

parent 7ef06aa5
...@@ -42,5 +42,5 @@ function refresh_scores() { ...@@ -42,5 +42,5 @@ function refresh_scores() {
fi fi
export DJANGO_SETTINGS_MODULE=memopol.settings export DJANGO_SETTINGS_MODULE=memopol.settings
./manage.py refresh_scores memopol refresh_scores
} }
#!/bin/bash #!/bin/bash
set -ex set -ex
source ${OPENSHIFT_REPO_DIR}bin/lib.sh source bin/lib.sh
parltrack_download_pipe ep_dossiers.json.xz parltrack_import_dossiers parltrack_download_pipe ep_dossiers.json.xz parltrack_import_dossiers
......
#!/bin/bash #!/bin/bash
set -ex set -ex
source ${OPENSHIFT_REPO_DIR}bin/lib.sh source bin/lib.sh
# Nothing for parltrack - proposals imported with votes # Nothing for parltrack - proposals imported with votes
......
#!/bin/bash #!/bin/bash
set -ex set -ex
source ${OPENSHIFT_REPO_DIR}bin/lib.sh source bin/lib.sh
parltrack_download_pipe ep_meps_current.json.xz parltrack_import_representatives parltrack_download_pipe ep_meps_current.json.xz parltrack_import_representatives
......
#!/bin/bash #!/bin/bash
set -ex set -ex
source ${OPENSHIFT_REPO_DIR}bin/lib.sh source bin/lib.sh
parltrack_download_pipe ep_votes.json.xz parltrack_import_votes parltrack_download_pipe ep_votes.json.xz parltrack_import_votes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment