Skip to content

A sample Django project allowing registration via SMS and bulk SMS sending.

Notifications You must be signed in to change notification settings

nexmo-community/flashmobber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nexmo Flashmobber

This is a demo project under heavy development.

Installing It:

You'll need Python 3.6 (f-strings!) and Pipenv installed. Run the following to set up your environment:

pipenv install
pipenv shell

Running It:

To run it you'll need to set the following environment variables, either directly, or using Foreman or Envdir:

# Nexmo credentials:
declare -x NEXMO_API_KEY=your-nexmo-api-key
declare -x NEXMO_API_SECRET=your-nexmo-api-secret
declare -x NEXMO_SIGNATURE_SECRET=your-signature-secret (Contact Nexmo Support)
declare -x NEXMO_SIGNATURE_METHOD=your-signature-encryption-method (Contact Nexmo Support)

# Some Django config:
declare -x SECRET_KEY=a-random-string
declare -x DEBUG=true
declare -x ALLOWED_HOSTS=comma-separated-domain-list

# Pusher app credentials:
declare -x PUSHER_APP_ID=id
declare -x PUSHER_APP_KEY=key
declare -x PUSHER_APP_SECRET=secret
declare -x PUSHER_APP_CLUSTER=cluster-country-code

You'll also need to configure Nexmo to send you SMS using JSON and POST!

Then run:

python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

To Do

  • Revamp the interface for purchasing numbers (currently the interface for buying numbers isn't even linked in.)
  • Add interface to send a message to registered participants
  • General appearance improvements
  • Style the event billboard page!

Ideas

  • Contact QR code on the billboard to make sending SMS easier!

About

A sample Django project allowing registration via SMS and bulk SMS sending.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published