turbulenz / turbulenz_engine

Turbulenz is a modular 3D and 2D game framework for making HTML5 powered games for browsers, desktops and mobile devices.

Home Page:http://turbulenz.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

doing setup via git clone, is the local development server available?

no-zzz-un opened this issue · comments

doing setup via git clone, is the local development server available?

i cannot find start_local.sh under the repository

i have run manage.py tools

Yes it is available when the env is activated after you run the manage.py env command
If you run local_server --help you can see the various options for starting it. You'll most likely want to run local_server --init optionally specifying --home if you want to use a different path for local server files (defaults to currentdir/devserver like the sdk)
If you then run local_server --launch again with an optional custom --home path you will start the server.
We'll be updating the open source docs to mention how to run it, you can also take a look at the readme in the local server repo on github for more details (https://github.com/turbulenz/turbulenz_local)

Hi,

Using local_server is NOT working for me although html files work fine when launched directly.
I tested with the command line above and then with the bat files used in the SDK (just to be sure I wasn't forgetting an instruction).

The local server is up and I can access it but the examples/samples are nor working properly.
Some are loading forever and some are partially loaded
capture

@PtitClem If you are using chrome, can you have a look in the network tab, then reload and see how long the individual files are taking to load?
What platform are you on?

I'm using Windows 8 with both Chrome and Firefox (last versions)

Here is the screenshot with 2 errors
capture

Ok, we've pushed a fix. To update the repository/SDK, do the following:

  1. Open a Turbulenz environment
  2. Type: easy_install -U turbulenz_local
  3. Type: local_server --version
    (check the version is 1.1.1 or higher)
  4. Run the local server again

Let us know if this resolves your issue.

Perfect! All samples are working perfectly on Chrome and Firefox.
Thank you for the quick answer and super-fast fix.