Giter Site home page Giter Site logo

uberjar's People

Contributors

gglcrash avatar gorbunkov avatar jreznot avatar knstvk avatar

Watchers

 avatar  avatar

Forkers

gglcrash

uberjar's Issues

Single Uber Jar with Portal and without Web module

  • Create an application using CUBA Studio
  • Remove web module
  • Add portal module
  • Add Uber building
  • Build and run Uber Jar:
  • Open URL from browser: localhost:8080/app-portal/
    ER: page with login
    AR: 404 error

Encoding issues with freemarker (front)

Cyrillic symbols in front module's index.html are being converted to question marks when served via uberJar.

For the front module we convert index.html to freemarker template index.ftl in order to make some runtime processing.
It seems freemarker is not configured to work with UTF encoding, e.g.:

  <init-param>
    <param-name>ContentType</param-name>
    <param-value>text/html; charset=UTF-8</param-value> 
  </init-param>

Unable to access to React front end with custom URL

Environment

Description of the bug or enhancement

  1. Create a small project
  2. Add React front module
  3. Set up single UberJar task
  4. Try to run the application from the command line using frontContextName command line argument (see docs)
    E.g. java -jar app.jar -frontContextName sales

A.R. React front-end will not be available by http://localhost:8080/sales

  1. Change PUBLIC_URL variable in .env.production.local
  2. Start UberJar

A.R. React front-end will not be available

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.