Skip to content

Commit

Permalink
New building system and general organization.
Browse files Browse the repository at this point in the history
  • Loading branch information
renatopp committed Oct 2, 2015
1 parent 4e25a7c commit 15dac10
Show file tree
Hide file tree
Showing 24 changed files with 336 additions and 1,021 deletions.
3 changes: 0 additions & 3 deletions .bowerrc

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ node_modules
.idea

# Custom
bower_components
dist
build
src/vendor
cache
teste.py
Expand Down
52 changes: 52 additions & 0 deletions BUILD.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Building Behavior3 Editor

You can build the editor in two different environments: for development and for production. For development you can run a local web server that will build and reload automatically the application for each new modification on the project. The production mode builds and package the editor for different platforms.


## Requirements

To run the editor you will need the following softwares:

**required for everything:**
- [NodeJS](https://nodejs.org)
- [Bower](http://bower.io)

*if you want to run/build the desktop version:*
- [Node-Webkit](http://nwjs.io)
- [Node-Webkit Builder](https://github.com/nwjs/nw-builder)


## Configuration

Before building, you need to install some 3rd-party libraries. You need to run in console the following commands:

npm install

and:

bower install

The former installs a bunch of NodeJS modules, which are used on the building system and some dependences of the desktop application. The last installs CSS and Javascript vendor libraries.


## Building during development

During development you can run the editor in a web browser with automatically building and reloading:

gulp serve

which will run a web server hosted on `http://127.0.0.1:8000`.

To run the desktop version (without automatically building and reload):

gulp nw


## Building final version

Just run:

gulp dist



15 changes: 10 additions & 5 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
Version [NEXT]
==============

[editor]
## Version 0.3.0 [NEXT]

- mod: new building system and dependence organization.



## Version 0.2.0 [Not released]

**editor**:

- add: editor import and export custom_node property (see #9/b3js).
- add: editor create custom nodes automatically when importing (see #9/b3js).
Expand All @@ -24,7 +30,6 @@ Version [NEXT]
- rem: dependence on JQuery and other libraries is removed.


Version 0.1.0 [Out 27, 2014]
============================
## Version 0.1.0 [Out 27, 2014]

- initial release.
158 changes: 0 additions & 158 deletions Gruntfile.js

This file was deleted.

File renamed without changes.
17 changes: 8 additions & 9 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@
"version": "0.2.0dev",
"directory": "src/vendor/",
"devDependencies": {
"angular": "~1.4",
"bootstrap": "~3.1.1",
"angular-animate": "~1.4",
"angular-bootstrap": "~0.13.0",
"angular-ui-router": "~0.2.14",
"fontawesome": "~4.3.0",
"less": "~2.5.0",
"normalize.css": "~3.0.3",
"sweetalert": "~1.0.0-beta"
"angular" : "~1.4",
"bootstrap" : "~3.1.1",
"angular-animate" : "~1.4",
"angular-bootstrap" : "~0.13.0",
"angular-ui-router" : "~0.2.14",
"fontawesome" : "~4.3.0",
"less" : "~2.5.0",
"sweetalert" : "~1.0.0-beta"
},
"dependencies": {}
}
26 changes: 0 additions & 26 deletions distPackage.json

This file was deleted.

Loading

0 comments on commit 15dac10

Please sign in to comment.