db
mkdir -p /data/db
sudo docker run --name mongodb -p 27017:27017 -v /data/db:/data/db -d mongo
sudo docker run --name redis -p 6379:6379 -d redis
vue
sudo apt install nodejs
nodejs -v
sudo apt install npm
npm -v
npm config set registry https://registry.npm.taobao.org
sudo npm install -g cnpm --registry=https://registry.npm.taobao.org
sudo cnpm install -g vue-cli
vue-admin-template
git clone https://github.com/PanJiaChen/vue-admin-template.git
cd vue-admin-template
sudo npm install --registry=https://registry.npm.taobao.org
sudo npm run dev
http://localhost:9528
中文
main.js变更为