Toggle navigation
Toggle navigation
This project
Loading...
Sign in
LI WENHAO
/
Running-Football
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
LI WENHAO
2021-12-07 19:40:48 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fde9ff1fc2e6e64a2ac39e5e08d7fea9eb738d82
fde9ff1f
1 parent
c032f891
Update README.md
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
README.md
README.md
View file @
fde9ff1
...
...
@@ -57,52 +57,52 @@
#### Environmental preparation
node.js
Environment configuration installation
`node.js`
Environment configuration installation
vue、vue-cli
Environment configuration installation
`vue`
、
`vue-cli`
Environment configuration installation
mongodb、mongodb Compass
Environment configuration installation
`mongodb`
、
`mongodb Compass`
Environment configuration installation
#### Operating instructions
>
Vue
project configuration start
>
`Vue`
project configuration start
```
shell
--
yarn
Instruction to install
--
`
yarn
`
Instruction to install
npm install -g yarn
npm install yarn --save
--
Vue
project dependency introduction
--
`
Vue
`
project dependency introduction
npm install
cnpm install
-- Extension component dependency introduction
vue-lazyload
Plugin:yarn add vue-lazyload -S
vue-color
plugin:yarn add vue-color -S
style-resources-loader
plugin:yarn add style-resources-loader -D
mdrkdown
syntax support related plugins:marked、highlightJs yarn add marked highlightJs -S
`
vue-lazyload
`
Plugin:yarn add vue-lazyload -S
`
vue-color
`
plugin:yarn add vue-color -S
`
style-resources-loader
`
plugin:yarn add style-resources-loader -D
`
mdrkdown
`
syntax support related plugins:marked、highlightJs yarn add marked highlightJs -S
```
>
mongodb
configuration:
>
`mongodb`
configuration:
Mongodb
configuration information correspondence:
`code/server/config.js`
File configuration database information
`Mongodb`
configuration information correspondence:
`code/server/config.js`
File configuration database information
```powershell
// Enter the
‘mongodb’
installation directory and execute the command to start the ‘mongo’ service
// Enter the
`mongodb`
installation directory and execute the command to start the ‘mongo’ service
> mongo
// Display database list
> show dbs
// Create a new
‘rfBlog’
database
// Create a new
`rfBlog`
database
> use rfBlog
// Create an rf user in the
‘rfBlog’
database with a password of 123456
// Create an rf user in the
`rfBlog`
database with a password of 123456
> db.createUser({user:"rf",pwd:"123456",roles:[{role:"readWrite",db:'rfBlog'}]})
// Show who the library has users
...
...
@@ -117,16 +117,16 @@ mdrkdown syntax support related plugins:marked、highlightJs yarn add marked
> Initialize system user information
```
powershell
//
Start
‘mongo’
service
//
Start
`
mongo
`
service
>
mongo
// Display database list
>
show dbs
// Access to the
‘wallBlog’
database
// Access to the
`
wallBlog
`
database
>
use rfBlog
// Insert a piece of
data
into the
‘users’
collection of the library, account number: admin password: 123456
// Insert a piece of
data
into the
`
users
`
collection of the library, account number: admin password: 123456
>
db.users.insert
({
"pwd"
:
"e10adc3949ba59abbe56e057f20f883e"
,
"username"
:
"admin"
,
...
...
Please
register
or
login
to post a comment