cd Vue-Spring-Boot-Get-Started
# install dependencies
npm install
MySQL数据库配置
CREATE DATABASE IF NOT EXISTS wepay
CHARACTER SET utf8
COLLATE utf8_general_ci
用SQL脚本导入数据
mysql -u root -p wepay < doc/wepay.sql
修改数据库连接信息,连接信息在 server/src/main/application.yml
spring:
datasource:
url: jdbc:mysql://localhost:3306/wepay?useSSL=false
username: root
password: XXXXXX
# serve with hot reload at localhost:8080
npm run dev
# serve with hot reload at localhost:8889
npm run server
sudo npm install -g http-server
cd server/controller/images
http-server -p 9111