jhipster / jhipster-online

JHipster Online lets you generate your JHipster projects through a user friendly web interface.
https://start.jhipster.tech/
Apache License 2.0
206 stars 139 forks source link

Improve the App Generation #135

Open cmoine opened 5 years ago

cmoine commented 5 years ago
Overview of the feature request

The actual implementation is pretty basic and does not allow to use it in a productive manner.

Motivation for or Use Case

I found this web page very convenient because I did not have to install/configure/update jHipster every time, unfortunately, I cannot use this web page anymore if I want to generate VueJS app, since it is a blueprint. For me it is a show stopper for using it now. It would be cool to integrate official blueprints usage into this web page

It would be also very nice to remember every choice made in this page, so we are able to generate an app generated with a newer version of JHipster.

Related issues or PR

None, but I would be glad to contribute for this feature in a PR.

cmoine commented 5 years ago

The creation of the .yo-rc.json is fine (tested separately), but JHipster invocation from JHipster online is stuck on: INFO! Options: forceInsight: true, skipChecks: true, skipInstall: true, skipCache: true, skipGit: true, from-cli: true, force-insight: true, skip-checks: true, skip-install: true, skip-cache: true, skip-git: true

And then reach the timeout !?!? What is going on?

Is it because I am using Windows? I did this in the YML:

application:
    jhipster-cmd:
        cmd: node.exe C:/Users/chris/AppData/Roaming/npm/node_modules/generator-jhipster/cli/jhipster.js

any help would be appreciated.

cmoine commented 5 years ago

Hmm, it seems that the remaining log is output to error output. Reading the error output seems to fix the problem. I will use Apache Commons Exec to properly address those issues. And I will attach a log file into the ZIP to see what happens with the command 8-) ;-)

SudharakaP commented 4 years ago

@cmoine : Hey, thanks for opening this issue and sorry it didn't get much attention before; I think it's a good idea. Are you still working on this issue? Could you open a draft pull request? I can take a look as well if needed. :smile:

cmoine commented 4 years ago

Hi @SudharakaP, Thank you for you help. I did some progress, but didn't work on it for a long time: https://github.com/cmoine/jhipster-online.git Saving previous selected/entered values was pretty easy, however, running blueprints is honestly a real pain:

cmoine commented 4 years ago

Related to https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/jhipster-dev/2Q5pQuBGA3Q/yPwJN-W-BgAJ

pascalgrimaud commented 4 years ago

Here a simple use case of new release:

The main problem is all blueprints depends on a specific version of generator-jhipster. You need to install the exact version, otherwise, you can have some problem.