Coder Social home page Coder Social logo

hn3000 / mirobot-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mirobot/mirobot-ui

0.0 3.0 0.0 1.49 MB

The web application that is used to control Mirobot (http://mirobot.io)

License: GNU General Public License v2.0

Ruby 17.60% Shell 0.33% JavaScript 82.08%

mirobot-ui's Introduction

Mirobot UI

This is the web application that is served from the Mirobot WiFi module allowing it to be controlled.

Developing

To do any development, first you'll need to install the dependencies. If you're not used to using Ruby and bundler, assuming you already have Ruby installed, the process is to first install the bundler gem using:

gem install bundler

if you're on a unix based system you might need to use sudo. Then install all of the gems using:

bundle install

You can now run the test server which has a dummy websocket that emulates Mirobot by running:

./bin/test_server.rb

Buiding the binary

To build your own bin file you can run:

rake dist

to generate the bin file in the dist folder.

Uploading the binary

Join the mirobot network and load the UI by visiting http://10.10.100.254/

If you're on a Windows machine you can visit http://10.10.100.254/iweb.html and then upload the new bin file (make sure you choose the correct part of the form: Upgrade customized webpage, not Upgrade firmware!)

If you're on a mac this doesn't currently work, so you need to use the uploader script in bin:

./bin/upgrade.sh

You should see a message saying the upgrade was successful and then the module should restart and after about 20 - 30 seconds you should be able to visit http://10.10.100.254 to see your new code. If it doesn't work first time, just keep trying, it can be a little glitchy.

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.