Giter Club home page Giter Club logo

Comments (2)

EvgeniiZaikin avatar EvgeniiZaikin commented on May 22, 2024

Well... I normally run release app by this instruction. Summary I copied dist folder from app folders to external folder (in my case desktop folder). Remove WEB-INF folder. And successfully run with node.js server. May be you can add this into deploying instruction.

from libgdx.

tommyettinger avatar tommyettinger commented on May 22, 2024

Those deploying instructions have said this about Node.js, since about 2 years ago:

With Node.js npm install http-server -g then http-server html/build/dist and browse at http://localhost:8080/ . docs

Does that not work? I really don't think the desktop module should have any HTML-specific files in it. If you meant the Desktop folder for your user account, not a desktop project's folder, I don't know of any particular reason why one would be different from the other. If your project is in a OneDrive folder, take it out of there, because OneDrive really makes a mess out of IDEA's or Android Studio's caches, and causes strange bugs.

I've never had to remove the WEB-INF folder. Then again, I almost exclusively use projects generated by gdx-liftoff for HTML, and Liftoff removes the contents of WEB-INF/deploy/html/symbolMaps/ for dist builds (because they can be quite large). So I suppose the code I wrote removes specific parts of WEB-INF anyway...

from libgdx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.