Giter VIP home page Giter VIP logo

resin-demonstrator's Introduction

electron-resin-conference-demo-app

To Use

Initial set-up

Follow this getting started guide to get your device connected to resin.io

  1. make sure you have node and git install
  2. make sure you have ssh client set-up.
  3. add you id_rsa.pub key to [email protected] account
  4. set up a git user by Running
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]

repo set-up

$ git clone https://github.com/resin-io-projects/resin-demonstrator
$ cd resin-demonstrator
$ npm install

Make sure you have these environment variables in a file named env.json in /resin-demonstrator

{
  "REMOTE": "resin app endpoint",
  "SDK_EMAIL": "resin app email",
  "SDK_PW": "resin pw",
  "APP_NAME": "resin app name",
  "LOGO": "Branding"
  "PICTURE_DEMO": Boolean (If you are using picture demo or app selection)
  "APPS": "array of repositories",
  "IMAGES": "array of images (must have png and raw file in /images folder)",
  "HEADING": For configuring certain strings in the app
}

Adding images

Add new images to src/images folder. They must be in .png format, with dimensions (WxH) 300x400.

Make sure you have FFmpeg installed and run the following:

$ cd src/images
$ ./png2fb.sh new-image.png

This will create a .raw image in the src/images folder.

Append the new files to the IMAGES array in the env.json file:

  "IMAGES": [
    "...",
    "new-image"
  ],
  ...

Finally, commit and push your changes with:

$ git commit -am 'Added new images'
$ git push origin master

To start

node start

Note: currently if you change the REMOTE after running node start you'll need to delete the applications repositories rerun the start command.

**Windows users**
git checkout no-tty
more info coming soon

resin-demonstrator's People

Contributors

dfunckt avatar

Watchers

James Cloos avatar vulcanoIO - Open Source Sandbox and RE malwares avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.