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

Improve the App Generation #135

Open
cmoine opened this issue Oct 8, 2019 · 6 comments
Open

Improve the App Generation #135

cmoine opened this issue Oct 8, 2019 · 6 comments
Labels
Type: Enhancement 🚀 Something that modifies or adds to existing functionality

Comments

@cmoine
Copy link

cmoine commented Oct 8, 2019

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 added a commit to cmoine/jhipster-online that referenced this issue Oct 9, 2019
cmoine added a commit to cmoine/jhipster-online that referenced this issue Oct 9, 2019
@cmoine
Copy link
Author

cmoine commented Oct 9, 2019

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
Copy link
Author

cmoine commented Oct 9, 2019

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-) ;-)

cmoine added a commit to cmoine/jhipster-online that referenced this issue Oct 9, 2019
cmoine added a commit to cmoine/jhipster-online that referenced this issue Oct 10, 2019
@SudharakaP
Copy link
Member

@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. 😄

@cmoine
Copy link
Author

cmoine commented Jun 16, 2020

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:

  • Retrieving dynamic options (however I find a dirty way to do it)
  • I was stuck for running blueprints.... I didn't manage to make this work properly. There were plans to run JHipster generation into GCP containers, I don't know where this work is now. I will investigate this part.

@cmoine
Copy link
Author

cmoine commented Jun 16, 2020

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

@pascalgrimaud
Copy link
Member

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.

@SudharakaP SudharakaP added the Type: Enhancement 🚀 Something that modifies or adds to existing functionality label Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement 🚀 Something that modifies or adds to existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants