JHipster with Windows

249 views
Skip to first unread message

Pascal GRIMAUD

unread,
May 20, 2017, 4:46:18 PM5/20/17
to JHipster dev team
Hello,

You probably already know it, but I wanted to share to you.

Tonight, I wanted to test JHipster on a Windows machine. I'm on Ubuntu, no Windows.

For that, I follow these steps:
- I select one of the image + VirtualBox
- I load it into my VirtualBox
- then, log into it with: IEUser / Passw0rd! (the keyboard is in qwerty, so the password for azerty keyboard is Pqsszàrd1)

Now, inside the machine:
- for me, change keyboard to french :-), and next time, I can use Passw0rd!
- download+install git
- download+install java
- download+install nodejs LTS
- download+install Yarn
- launch git bash, and add this in my ~/.bashrc: export PATH=$PATH:/c/Users/IEUser/AppData/Local/Yarn/bin

Now I can test JHipster on Windows machine.

Something strange:
- when I use: jhipster, I can't move between the option
- so I used: winpty jhipster.cmd instead, and it works well!

What is cool, is I didn't need to install 'yo'.
And JHipster works well on Windows ;-)

Cheers,
Pascal

Deepu K Sasidharan

unread,
May 20, 2017, 4:51:55 PM5/20/17
to Pascal GRIMAUD, JHipster dev team

Yes yo is not needed for CLI its required only if using the yo commands.

I didn't understand what you meant by couldn't move between options? Are you talking about autocompletion? If so it wont work in windows (its supported only in zsh, bash and fish)
Were you able to type `jhipster *` commands manually and use it? I still have my windows laptop so I can test it once im back from vacation


--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.
To post to this group, send email to jhipst...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jhipster-dev/CALUG8Vsy%3D0KmmkhudNVUE%3DeOaQ_yxG6YTUPW7K0qNWop8kmrqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Pascal GRIMAUD

unread,
May 20, 2017, 5:00:21 PM5/20/17
to Deepu K Sasidharan, JHipster dev team
When I use: 'jhipster' in git bash for Windows, I have:

? (1/16) Which *type* of application would you like to create? (Use arrow keys)
> Monolithic application (recommended for simple projects)
  Microservice application
  Microservice gateway
  [BETA] JHipster UAA server (for microservice OAuth2 authentication)

I can't move between option. The '>' stays in the same option. In fact, the '>' moved but it isn't display correctly.

If I use 'winpty jhipster.cmd' instead, it works normally:

IEUser@MSEDGEWIN10 MINGW64 ~/projects/tmp/01-test
$ winpty jhipster.cmd entity toto
Executing jhipster:entity toto

The entity toto is being created.

Generating field #1

? Do you want to add a field to your entity? (Y/n)


About Autocompletion, it doesn't work as you said.

Pascal


To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

To post to this group, send email to jhipst...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages