Raspery Pi powered gift tag plotting mechanism
Built by Mark Durrant (@M6_D6) and Florian Rathgeber (@frathgeber) for the Christmas IoT hackathon run by resion.io at Fablab London.
brew install node
npm install -g gulp
Install packages:
npm i
Build the CSS from scss sources:
gulp sass
Run Gulp for a local dev server with livereload for the frontend:
gulp
Or run the backend express server:
npm start
- Sign up for a https://resin.io account and create a new project.
- Sign up for a https://ngrok.com account.
- Set the following environment variables in your application dashboard:
PORT
to 80NGROK_AUTH_TOKEN
to your ngrok authentication token.
- Add the
resin
remote to the Git repository. - Push to the device:
git push resin master
- Wait until your device is provisioned.
- Connect your plotter. Tested with a Silhouette Portrait, but might work with other compatible plotters like the Silhouette Cameo.