Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 1.48 KB

README.md

File metadata and controls

57 lines (41 loc) · 1.48 KB

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!