adrienemery / vanpy-2019

Code from VanPy Meetup on Jan 29, 2019

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Code from VanPy Meetup on Jan 29, 2019


Languages

Language:Python 55.6%Language:Ruby 26.2%Language:C++ 18.2%