This assumes we're starting with a CSV file containing the MSISDNs and other fields. If you have a file that contains only MSISDNs, with one MSISDN per line, skip to Step 4.
In a terminal type:
| diff --git a/utils/publish.sh b/utils/publish.sh | |
| new file mode 100755 | |
| index 0000000..d2bc265 | |
| --- /dev/null | |
| +++ b/utils/publish.sh | |
| @@ -0,0 +1,6 @@ | |
| +#!/bin/sh -e | |
| + | |
| +rm dist/* || true | |
| +python setup.py sdist bdist_wheel |
| diff --git a/docker-vms/http_api/Dockerfile b/docker-vms/http_api/Dockerfile | |
| index 30360d7..b4d4897 100644 | |
| --- a/docker-vms/http_api/Dockerfile | |
| +++ b/docker-vms/http_api/Dockerfile | |
| @@ -1,7 +1,7 @@ | |
| FROM python:2.7.9 | |
| MAINTAINER Praekelt Foundation <dev@praekeltfoundation.org> | |
| -RUN pip install 'vumi-http-api>=0.1.1' | |
| +RUN pip install 'vumi-http-api>=0.1.3' |
| File "/var/praekelt/vumi-go/ve/local/lib/python2.7/site-packages/vxyowsup/whatsapp.py", line 154, in send_to_human | |
| self.toLower(msg) | |
| File "/var/praekelt/vumi-go/ve/local/lib/python2.7/site-packages/yowsup/layers/__init__.py", line 59, in toLower | |
| self.__lower.send(data) | |
| File "/var/praekelt/vumi-go/ve/local/lib/python2.7/site-packages/yowsup/layers/__init__.py", line 164, in send | |
| s.send(data) | |
| File "/var/praekelt/vumi-go/ve/local/lib/python2.7/site-packages/yowsup/layers/__init__.py", line 107, in send | |
| send(entity) | |
| File "/var/praekelt/vumi-go/ve/local/lib/python2.7/site-packages/yowsup/layers/protocol_messages/layer.py", line 15, in sendMessageEntity | |
| self.entityToLower(entity) |
| diff --git a/vxyowsup/tests/test_whatsapp.py b/vxyowsup/tests/test_whatsapp.py | |
| index 2f80f2d..73568c8 100644 | |
| --- a/vxyowsup/tests/test_whatsapp.py | |
| +++ b/vxyowsup/tests/test_whatsapp.py | |
| @@ -1,6 +1,7 @@ | |
| import base64 | |
| -from twisted.internet.defer import inlineCallbacks | |
| +from twisted.internet.defer import inlineCallbacks, DeferredQueue | |
| +from twisted.internet import reactor |
| diff --git a/vxyowsup/tests/test_whatsapp.py b/vxyowsup/tests/test_whatsapp.py | |
| index 2f80f2d..73568c8 100644 | |
| --- a/vxyowsup/tests/test_whatsapp.py | |
| +++ b/vxyowsup/tests/test_whatsapp.py | |
| @@ -1,6 +1,7 @@ | |
| import base64 | |
| -from twisted.internet.defer import inlineCallbacks | |
| +from twisted.internet.defer import inlineCallbacks, DeferredQueue | |
| +from twisted.internet import reactor |
| diff --git a/docs/conf.py b/docs/conf.py | |
| index f136179..4d40e8c 100644 | |
| --- a/docs/conf.py | |
| +++ b/docs/conf.py | |
| @@ -52,7 +52,7 @@ master_doc = 'index' | |
| # General information about the project. | |
| project = u'Vumi Javascript Sandbox Toolkit' | |
| -copyright = u'2013, Praekelt Foundation' | |
| +copyright = u'2015, Praekelt Foundation' |
| # -*- coding: utf-8 -*- | |
| from __future__ import unicode_literals | |
| from django.db import models, migrations | |
| class Migration(migrations.Migration): | |
| dependencies = [ | |
| ('talks', '0001_initial'), |
| #!/bin/bash | |
| CMD="$1" | |
| shift 1 | |
| function get_feature () { | |
| FEATURE=`git flow feature | grep '^\* ' | sed 's/^\* //'` | |
| ISSUE=`echo "$FEATURE" | sed -e 's/issue-\([0-9]*\)-.*/\1/'` | |
| echo "Feature: $FEATURE (issue: $ISSUE)" | |
| } |
| diff --git a/Dockerfile b/Dockerfile | |
| index e92fcc0..4479acb 100644 | |
| --- a/Dockerfile | |
| +++ b/Dockerfile | |
| @@ -1,4 +1,4 @@ | |
| -FROM mozart/grails:2.5.0 | |
| +FROM mozart/grails:2.4.4 | |
| MAINTAINER Praekelt Foundation <dev@praekeltfoundation.org> | |
| COPY . /app |