Jhipster first installation tutorial

Time:2021-1-21
First of all, introduce myself, I am a third rate programmer, oh no, coder! Now I want to learn jhipster. Now I'm thinking about whether to analyze my own growth experience. I hope I can help you. I hope you can support me. Thank you!

First of all, we need to eat first-hand resources and post a jhipster official website(https://jhipster.github.io/)

Let’s just start installing the jhipster environment

1、 Configuration environment

1. Install NPM
goNode.js Official websiteTo download the latest version of LTS node.js Just click Next until the installation is complete.

2. Install yeoman
Press and hold Win + R and enter CMD to call out the command line, execute the following command and wait.

npm install -g yo

Jhipster first installation tutorial
As shown in the figure, we have installed it and are ready for the next step.

3. Installing bower

npm install -g bower

Jhipster first installation tutorial

4. Install grunt

npm install -g grunt-cli

Jhipster first installation tutorial

5. Install gulp

/npm install -g gulp

Jhipster first installation tutorial

6. Install Git
Git has been installed for a long time. I don’t have any screenshots. I’ll post a blog of my predecessors.Git installation tutorial

7. Install Vue (optional)

npm install vue

Jhipster first installation tutorial

8. Install phantomjs
This is also to go to the official website download installation is relatively simple, paste a senior website, you see, pro test effective! Install phantom JS](https://www.cnblogs.com/huang…
Jhipster first installation tutorial
After the installation, check the existence of the version, there is no problem

9. Install jhipster generator

npm install -g generator-jhipster

Jhipster first installation tutorial


2、 Start using

1. Create a folder
Create a folder anywhere:
Jhipster first installation tutorial

2. Create a database, I use Mysql to create a database named jhipstertest
Jhipster first installation tutorial

3. Create app
Go to the catalog of just worn itemsJhipster first installation tutorial
Then press and hold shift, click the right mouse button, and select “open command window here”
Command line black window!
Run ‘yo jhipster’ to create a jhipster project
Jhipster first installation tutorial
At the end of the picture, I asked if you would like to help him improve the template. Y, N, just press the keyboard directly. The URL above ishttps://www.jhipster.tech/cre…, https://opencollective.com/generator-jhipster This website is to support him if you think it’s good. It’s just to pay him. Do you understand? No, let’s start to create a project.
Jhipster first installation tutorial
Press up and down on the keyboard and enter to select.

4. After customizing the program you want, it’s done
Jhipster first installation tutorial
Then look back to see if the folder is a complete project!

5. Don’t worry!!! Open “application” in jhipstertestsrcmainresourcesconfig directory respectively- dev.yml And application- prod.yml File modification inside the database link information
Jhipster first installation tutorial

6. Running projects

mvn spring-boot:run

Yes, we can see the smooth running of the project. It can be entered in the browserhttp://127.0.0.1:8080perhapshttp://localhost:8080Check the operation of the application.
Jhipster first installation tutorial
Jhipster first installation tutorial
!!! The default login user name and password are admin!!!


In this way, our first jhipster laugh demo is completed. If you encounter any problems, you can leave me a message or contact email [email protected]