Advertising (This ad goes away for registered users. You can Login or Register)

babylonjs gulp server for importing exploit and porting 3.69

You have questions and can't find another subforum to ask? Go here
Post Reply
ivo2376
Posts: 27
Joined: Wed Jan 14, 2015 10:17 pm

babylonjs gulp server for importing exploit and porting 3.69

Post by ivo2376 » Tue Sep 11, 2018 7:15 pm

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)
Advertising

Post Reply

Return to “Support”