behavior3 / behavior3editor

An awesome online visual editor for Behavior3 (Behavior Trees Visual Editor)
MIT License
646 stars 264 forks source link

How to run behavior3editor in web #25

Open yangguosdxl opened 8 years ago

yangguosdxl commented 8 years ago

I build the editor and put it to web container like apache, nginx, but it looks like has error when access the web page from another computer,

The home page show below:

Behavior3 Editor Starting application... Have Fun!

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38324637-how-to-run-behavior3editor-in-web?utm_campaign=plugin&utm_content=tracker%2F18331319&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F18331319&utm_medium=issues&utm_source=github).
aleneum commented 7 years ago

Hello @yangguosdxl,

you probably forgot to run bower install after npm install. Check your debugger output. If you see error messages related to vendor.min.css or angular this is probably the cause of it. I just tested the following workflow and it worked like a charm:

git clone https://github.com/behavior3/behavior3editor.git
cd behavior3editor
npm install
bower install
gulp build
cd build
python -m SimpleHTTPServer

Best regards!

gocpplua commented 3 years ago

$ bower install

Download of https://github.com/angular/bower-angular/archive/v1.4.14.tar.gz failed with ETIMEDOUT, retrying in 1.2s