LI WENHAO

Update README.md

Showing 1 changed file with 18 additions and 18 deletions
...@@ -57,52 +57,52 @@ ...@@ -57,52 +57,52 @@
57 57
58 #### Environmental preparation 58 #### Environmental preparation
59 59
60 -node.js Environment configuration installation 60 +`node.js` Environment configuration installation
61 61
62 -vue、vue-cli Environment configuration installation 62 +`vue``vue-cli` Environment configuration installation
63 63
64 -mongodb、mongodb Compass Environment configuration installation 64 +`mongodb``mongodb Compass` Environment configuration installation
65 65
66 66
67 67
68 #### Operating instructions 68 #### Operating instructions
69 69
70 -> Vue project configuration start 70 +> `Vue` project configuration start
71 71
72 ```shell 72 ```shell
73 --- yarn Instruction to install 73 +-- `yarn` Instruction to install
74 npm install -g yarn 74 npm install -g yarn
75 npm install yarn --save 75 npm install yarn --save
76 76
77 --- Vue project dependency introduction 77 +-- `Vue` project dependency introduction
78 npm install 78 npm install
79 cnpm install 79 cnpm install
80 80
81 -- Extension component dependency introduction 81 -- Extension component dependency introduction
82 -vue-lazyload Plugin:yarn add vue-lazyload -S 82 +`vue-lazyload` Plugin:yarn add vue-lazyload -S
83 -vue-color plugin:yarn add vue-color -S 83 +`vue-color` plugin:yarn add vue-color -S
84 -style-resources-loader plugin:yarn add style-resources-loader -D 84 +`style-resources-loader` plugin:yarn add style-resources-loader -D
85 -mdrkdown syntax support related plugins:marked、highlightJs yarn add marked highlightJs -S 85 +`mdrkdown` syntax support related plugins:marked、highlightJs yarn add marked highlightJs -S
86 ``` 86 ```
87 87
88 88
89 89
90 ->mongodb configuration: 90 +>`mongodb` configuration:
91 91
92 -Mongodb configuration information correspondence:`code/server/config.js`File configuration database information 92 +`Mongodb` configuration information correspondence:`code/server/config.js`File configuration database information
93 93
94 94
95 ```powershell 95 ```powershell
96 -// Enter the ‘mongodb’ installation directory and execute the command to start the ‘mongo’ service 96 +// Enter the `mongodb` installation directory and execute the command to start the ‘mongo’ service
97 > mongo 97 > mongo
98 98
99 // Display database list 99 // Display database list
100 > show dbs 100 > show dbs
101 101
102 -// Create a new ‘rfBlog’ database 102 +// Create a new `rfBlog` database
103 > use rfBlog 103 > use rfBlog
104 104
105 -// Create an rf user in the ‘rfBlog’ database with a password of 123456 105 +// Create an rf user in the `rfBlog` database with a password of 123456
106 > db.createUser({user:"rf",pwd:"123456",roles:[{role:"readWrite",db:'rfBlog'}]}) 106 > db.createUser({user:"rf",pwd:"123456",roles:[{role:"readWrite",db:'rfBlog'}]})
107 107
108 // Show who the library has users 108 // Show who the library has users
...@@ -117,16 +117,16 @@ mdrkdown syntax support related plugins:marked、highlightJs yarn add marked ...@@ -117,16 +117,16 @@ mdrkdown syntax support related plugins:marked、highlightJs yarn add marked
117 > Initialize system user information 117 > Initialize system user information
118 118
119 ```powershell 119 ```powershell
120 -// Start ‘mongo’ service 120 +// Start `mongo` service
121 > mongo 121 > mongo
122 122
123 // Display database list 123 // Display database list
124 > show dbs 124 > show dbs
125 125
126 -// Access to the ‘wallBlog’ database 126 +// Access to the `wallBlog` database
127 > use rfBlog 127 > use rfBlog
128 128
129 -// Insert a piece of data into the ‘users’ collection of the library, account number: admin password: 123456 129 +// Insert a piece of data into the `users` collection of the library, account number: admin password: 123456
130 > db.users.insert({ 130 > db.users.insert({
131 "pwd" : "e10adc3949ba59abbe56e057f20f883e", 131 "pwd" : "e10adc3949ba59abbe56e057f20f883e",
132 "username" : "admin", 132 "username" : "admin",
......