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
As shown in the figure, we have installed it and are ready for the next step.
3. Installing bower
npm install -g bower
4. Install grunt
npm install -g grunt-cli
5. Install gulp
/npm install -g gulp
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
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…
After the installation, check the existence of the version, there is no problem
9. Install jhipster generator
npm install -g generator-jhipster
2、 Start using
1. Create a folder
Create a folder anywhere:
2. Create a database, I use Mysql to create a database named jhipstertest
3. Create app
Go to the catalog of just worn items
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
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.
Press up and down on the keyboard and enter to select.
4. After customizing the program you want, it’s done
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
6. Running projects
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.
！！！ 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]