Commit d228d7b2 authored by carlosperate's avatar carlosperate

Renamed arduino_material to arduino webapp and updated README:

Updated the script start.py to launch correct webapp.
Updated gitignore to include notepad++ temp file.
parent b4173bb3
......@@ -17,6 +17,7 @@ $RECYCLE.BIN/
########
*.komodoproject
.idea/
npp.session
##########
# Python #
......
# Ardublockly
"Ardublockly" is a fork of [Blockly](https://developers.google.com/blockly/), a web-based graphical programming editor, that has been updated to generate [Arduino](http://www.arduino.cc/) code.
The "ArduBlocklyServerCompiler" component initialises a local server with Python to be able to compile and load the Arduino code using the [Arduino IDE](http://arduino.cc/en/main/software).
The "ArduinoServerCompiler" component initialises a local server with Python to be able to compile and load the Arduino code using the [Arduino IDE](http://arduino.cc/en/main/software).
This project has been influenced by BlocklyDuino.
This project has been influenced by BlocklyDuino (based on an outdated version of Blockly).
## Features
* Generate Arduino code with visual drag-and-drop blocks
* Load the code to an Arduino Board
* Compatible with a wide range of official Arduino Boards
* Compatible with Windows / Linux / Mac OS X
Ardublockly is still under development and a few features are not yet implemented.
Ardublockly is still under development and a few of the main features are not yet implemented.
Currently tested under Windows, but developed for portability. Will soon be tested on the other platforms.
![WebApp screenshot with material design](http://carlosperate.github.io/ardublockly/images/screenshot_material_all_small.jpg "Ardublockly with material design")
## Demo
A demo of the current state of Ardublockly can be found in the following two links (to load the code into an Arduino requires Ardublockly to be executed locally):
#### [Ardublockly with responsive design](http://carlosperate.github.io/ardublockly/ardublockly/apps/arduino/index.html)
![WebApp screenshot responsive design](http://carlosperate.github.io/ardublockly/images/screenshot_material_all_small.jpg "Ardublockly with responsive design")
#### [Ardublockly classic](http://carlosperate.github.io/ardublockly/ardublockly/apps/arduino_classic/index.html)
![WebApp screenshot](http://carlosperate.github.io/ardublockly/images/screenshot_1.png "Ardublockly")
## Demo
A demo of the current state of Ardublockly can be found in the following two links:
* [Ardublockly](http://carlosperate.github.io/ardublockly/ardublockly/apps/arduino/index.html)
* [Ardublockly with material design](http://carlosperate.github.io/ardublockly/ardublockly/apps/arduino_material/index.html)
## Installing
Installation instructions can be found in [this Github repository Wiki](https://github.com/carlosperate/ardublockly/wiki/Installing-Ardublockly).
Alternatively, there is a packaged version for Windows that runs as a stand-alone executable and can be downloaded using the following git command:
```
git clone --recursive https://github.com/carlosperate/ardublockly-package.git
```
It also needs the [Arduino IDE version 1.6 or higher](http://arduino.cc/en/main/software).
To load the code into an Arduino requires Ardublockly to be executed locally.
## Running
1. Install Ardublockly or [Ardublockly-package](https://github.com/carlosperate/ardublockly-package)
2. Install the [Arduino IDE version 1.6 or higher](http://arduino.cc/en/main/software).
3. Run the `start.py` python script (for Ardublockly) or `ardublockly_win.bat` package file (for Ardublockly-package)
3. Configure Ardublockly to find the Arduino IDE [following these instructions](https://github.com/carlosperate/ardublockly/wiki/Configure-Ardublockly)
### Documentation
The documentation, including installation instructions, can be found in [this Github repository Wiki](https://github.com/carlosperate/ardublockly/wiki).
## Documentation
The documentation, including installation instructions, configuration instructions, and developer information can be found in [this Github repository Wiki](https://github.com/carlosperate/ardublockly/wiki).
To download the documentation you can git clone the wiki data:
```
git clone https://github.com/carlosperate/ardublockly.wiki.git
```
## Original Authors
## Credit
Blockly original source is Copyright of Google Inc. [https://developers.google.com/blockly/](https://developers.google.com/blockly/)
#### Significant changes
Added Arduino code generator, Arduino app, and Python server to utilise the Arduino IDE.
Added Arduino code generator, Arduino apps, and Python server to utilise the Arduino IDE.
All changes to the original source code can be reviewed [here](https://github.com/carlosperate/ardublockly/compare/blockly-original...master).
## License
Licensed under the Apache License, Version 2.0 (the "License"). The full document can be found in the [COPYING](https://github.com/carlosperate/ardublockly/blob/master/COPYING) file.
## License
Licensed under the Apache License, Version 2.0 (the "License").
The full document can be found in the [COPYING](https://github.com/carlosperate/ardublockly/blob/master/COPYING) file.
......@@ -111,7 +111,7 @@ def main(argv):
sys.exit(1)
relative_path = [os.path.relpath(this_file_parent_dir, common_path)]
app_index = os.path.normpath(os.path.join(
relative_path[0], 'ardublockly', 'apps', 'arduino_material'))
relative_path[0], 'ardublockly', 'apps', 'arduino'))
print('Root & script parent: %s\nCommon & relative path: %s; %s\nIndex: %s'
% (paths, common_path, relative_path, app_index))
open_browser(app_index)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment