Page 1 of 1

babylonjs gulp server for importing exploit and porting 3.69

Posted: Tue Sep 11, 2018 7:15 pm
by ivo2376
first install git for windows (has git cmd prompt)
then install nodejs systemwide then do as build-essentials
git clone https://github.com/BabylonJS/Babylon.js.git
then clone fork some mess with it
cd Tools
cd Gulp
nano readme.md
npm install -g gulp@4.0.0
$ npm install
$ npm audit fix
$ npm audit fix --force
$ nano readme.md
$ gulp && gulp run
## From the javascript source
### Build Babylon.js from the javascript files:
```
gulp
```
Will be generated :
- babylon.js
- babylon.max.js (unminified)
## From the typescript source
### Build Babylon.js from the typescript files:
```
gulp typescript
```
Will be generated :
- babylon.js
- babylon.d.ts
- babylon.noworker.js (minified version without collisions workers)
- babylon.max.js (unminified)
Be aware that all js files content will be overwritten.
### Build Babylon.js when you save a typescript file:
```
gulp watch
```
### Run Integrated Web Server and watch for changes:
```
gulp run
```
you can now freely test in the following URLs:
- [Playground](http://localhost:1338/Playground/index-local.html)
- [Materials Library](http://localhost:1338/materialsLibrary/index.html)
- [Postprocess Library](http://localhost:1338/postProcessLibrary/index.html)
- [Procedural Textures Library](http://localhost:1338/proceduralTexture ... index.html)
- [Local Dev Samples](http://localhost:1338/localDev/index.html)