App to control a Circuit Playground via web
You need to sign up for a Heroku account if you don't already have one, and install the Heroku toolbelt. (On a Mac with Homebrew, just run brew install heroku
).
To deploy:
- Clone this repo.
- Inside the repo directory, run
heroku create
(requires Heroku toolbelt). - Run
git push heroku master
to simultaneously deploy the frontend + backend to Heroku.
- Open command window #1, run
node index.js
- Open command window #2, run
npm run yarn
- Navigate to http://localhost:3000