Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running BabylonJS Demos Without Using DevServer #135

Open
GeneUNCG opened this issue Jul 22, 2022 · 6 comments
Open

Running BabylonJS Demos Without Using DevServer #135

GeneUNCG opened this issue Jul 22, 2022 · 6 comments

Comments

@GeneUNCG
Copy link

Hello all,

I am currently experimenting with this repo, the BabylonJS demos work really well and are very nice. Though, I was wondering how I would access these without the use of the web-dev-server. I haven't seen much documentation relating to this topic, if any documentation at all.

I have tried changing the npm build settings but nothing has been working. When I try to access any of the BabylonJS demos without going through port 8080, it will simply just not load. My ultimate goal is to get the demos working perfectly in production mode so I can run them on ports 80/443.

Any ideas? Any tips would be appreciated.

@runpiw
Copy link
Contributor

runpiw commented Aug 3, 2022

Hi @GeneUNCG, have you check out our amplify publisher plugin for babylon? This will allow you to easily create a hosting solution for a single-page web application using AWS Amplify within BabylonJS editor.

@GeneUNCG
Copy link
Author

GeneUNCG commented Aug 4, 2022

Hi @GeneUNCG, have you check out our amplify publisher plugin for babylon? This will allow you to easily create a hosting solution for a single-page web application using AWS Amplify within BabylonJS editor.

I have not seen it yet, but I will go ahead and read it now! I made major modifications to one of the demo projects, would I be able to import it into the Babylon.JS Editor?

@Krxtopher
Copy link
Contributor

Unfortunately, the demos in this repository are not compatible with the BabylonJS Editor. It should be possible to do a distribution build of these demos, though, and just deploy those files to any web server (including AWS Amplify). But I just tried it myself and noticed our build script isn't working - at least not intuitively. Let me dig in a bit more.

@GeneUNCG
Copy link
Author

GeneUNCG commented Aug 5, 2022

@Krxtopher Perfect. That is exactly what I am looking for. Please keep me updated on the way to build the demos for release/distribution.

@GeneUNCG
Copy link
Author

Hello @Krxtopher, just wanted to check in an see if there was anything that was found? Any clues on how to get the build scripts working for this project would be greatly appreciated!

@Krxtopher
Copy link
Contributor

@GeneUNCG, sorry it's taken so long to get you a solution for deploying our demos. Although we haven't made updates to the demos in the main repository, yet, I did create a temporary repository in my personal account that contains updated versions of the Babylon.js demos that are now easily deployable to any web server. Give it a try and let me know if you run into any problems: https://github.com/Krxtopher/sumerian-host-demos-babylonjs

I'll continue working to ensure these updates get ported to the official repository in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants