Simple Django app built with vline.js
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
vline_example
.gitignore
README.md
manage.py

README.md

vLine Django Example

The vLine Django Example shows you how to create a Django app that is integrated with the vLine API.

Getting Started

  1. Sign up for a [vLine developer account] (https://vline.com/developer/) and create your vLine service.
  2. Make note of your API Secret on the Service Settings tab in the vLine Developer Console.
  3. Install Django and PyJWT (version 0.1.5 or newer): sudo pip install "Django" "PyJWT>=0.1.5"
  4. Clone this repository.
  5. Set up the database: python manage.py syncdb (create a superuser when prompted)
  6. Open vline_example/vline.py and replace API_SECRET with the secret from the previous steps. Also replace SERVICE_ID with the name of your service.
  7. Run the server: python manage.py runserver 8080
  8. In your browser, go to http://localhost:8080/admin/
  9. Add at least one additional user.
  10. Open http://localhost:8080 in one regular browser window and one incognito window.
  11. Log in as different users in the two windows.
  12. Click on a username to call that user.