Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 816 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 816 Bytes

Dependencies to run examples

  • pyserial
  • pyqt
  • pygame
  • flask
  • autobahn
  • crossbar
pip install -r requirements-examples.txt

Running a crossbar router locally

There are two options:

Run directly with crossbar command

if you installed crossbar you can run crossbar start

Using Docker

run docker-compose up

Running a Crossbar Router on Heroku

The Procfile and requirements.txt file are setup to make deploying to heroku simple.

  1. install the (Heroku CLI)[https://devcenter.heroku.com/articles/heroku-cli]
  2. create a new heroku project from this repository

$ heroku create

  1. push code to the heroku remote (this remote is auto added in the previous step)

$ git push heroku master

  1. you will now have a crossbar router running at the url generated by heroku