Git Product home page Git Product logo

irenesanznieto / web2board Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bq/web2board

0.0 1.0 0.0 390.48 MB

Native program that connects a web and a board. It compiles Arduino sketches and uploads them onto an Arduino board.

License: GNU Lesser General Public License v3.0

HTML 30.56% Shell 0.39% Ruby 0.01% Python 0.16% AppleScript 0.01% Batchfile 0.01% NSIS 0.01% C 50.38% Makefile 0.79% C++ 8.45% Objective-C 0.23% Logos 0.94% Perl 0.01% CSS 0.02% Groff 4.61% Assembly 0.01% Arduino 1.44% Tcl 1.99% TeX 0.01% PostScript 0.01%

web2board's Introduction

web2board

Native program that connects a website and a Arduino compatible board. It compiles Arduino sketches and uploads them onto a board.

This project has been developed in Python language and it is distributed under GPL v3 license.

Special Thanks

Installing

GNU/Linux Ubuntu

Download and install "web2board.deb"

If user has no access to serial port, execute:

sudo usermod -a -G dialout $USER

Logout from your session to apply the changes

logout

Windows

[TODO]

Development

web2board has been developed in Ubuntu Gnome. If you are a developer and you want to modify the code, contribute, build packages, etc. you may follow this steps:

1. Set up the environment

Tools

Sublime Text 3 IDE

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

Arduino IDE

sudo apt-get install arduino arduino-core

Git version control

sudo apt-get install git gitk

Dependencies

Following dependencies are included in deb package, but if you want to install it manually, they are:

Python

sudo apt-get install python-serial 

AVRDUDE

sudo apt-get install avrdude

In order to generate Debian and Windows packages, some extra dependencies are needed

Packaging

sudo apt-get install build-essential pkg-config python-dev python-stdeb p7zip-full curl nsis

2. Download source code

All source code is available on GitHub. You can download main web2board project by doing:

web2board

git clone [email protected]:bq/web2board.git

3. Execute source code

In the project directory, execute the command:

python src/web2board.py

4. Build packages

web2board development comes with a script "package.sh", this script has been designed to run under *nix OSes (Linux, MacOS). For Windows the package.sh script can be run from bash using git. The "package.sh" script generates a final release package. You should not need it during development, unless you are changing the release process. If you want to distribute your own version of web2board, then the package.sh script will allow you to do that.

GNU/Linux Ubuntu

bash package.sh debian     # Generate deb package
bash package.sh debian -s  # Generate sources
bash package.sh debian -i  # Install deb package
bash package.sh debian -u  # Upload to launchpad

Windows

bash package.sh win32  # Generate exe package

GNU/Linux Fedora

[TODO]

Mac OS X

[TODO]

web2board's People

Contributors

irenesanznieto avatar jorgegarciairazabal avatar lauradra avatar tocalvo avatar

Watchers

 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.