Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_45598856
white-jotter
提交
be769211
W
white-jotter
项目概览
qq_45598856
/
white-jotter
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
white-jotter
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
be769211
编写于
11月 08, 2020
作者:
E
Evan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update README.md
上级
c412ba91
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
5 addition
and
14 deletion
+5
-14
README.md
README.md
+5
-14
未找到文件。
README.md
浏览文件 @
be769211
...
...
@@ -4,16 +4,13 @@
![
lisense
](
https://img.shields.io/github/license/Antabot/White-Jotter
)
![
release
](
https://img.shields.io/github/v/release/Antabot/White-Jotter
)
![
Build Status
](
https://www.travis-ci.org/Antabot/White-Jotter.svg?branch=master
)
这是一个简单的前后端分离项目,主要采用 Vue.js + SpringBoot 技术栈开发。
除了用作入门练习,我还希望该项目可以作为一些常见 Web 项目的脚手架,帮助大家简化搭建网站的流程。之所以叫白卷,是因为它从 0 开始,会随着时间的推移逐渐完善。
前端地址:
[
https://github.com/Antabot/White-Jotter-Vue
](
https://github.com/Antabot/White-Jotter-Vue
)
后端地址:
[
https://github.com/Antabot/White-Jotter
](
https://github.com/Antabot/White-Jotter
)
https://github.com/Antabot/White-Jotter)
欢迎加入微信圈子 【开发者】 分享、讨论学习经验:
...
...
@@ -86,12 +83,6 @@
1.
clone 项目到本地
前端:
`git clone https://github.com/Antabot/White-Jotter-Vue`
后端:
`git clone https://github.com/Antabot/White-Jotter`
2.
在 mysql 中创建数据库
`wj`
,运行项目,将自动注入数据。如需关闭此功能,请将
`application.properties`
中的
`spring.datasource.initialization-mode=always`
代码删除。
...
...
@@ -117,7 +108,7 @@ npm install
# 在 localhost:8080 启动项目
npm run dev
```
```
由于在
`wj-vue`
项目中已经配置了端口转发,将数据转发到SpringBoot上,因此项目启动之后,在浏览器中输入
`http://localhost:8080`
就可以访问我们的前端项目了,所有的请求通过端口转发将数据传到 SpringBoot 中(注意此时不要关闭 SpringBoot 项目)。
...
...
@@ -125,7 +116,7 @@ npm run dev
```
npm run build
```
```
该命令执行成功之后,
`wj-vue`
目录下生成一个
`dist`
文件夹,可以将该文件夹中的两个文件
`static`
和
`index.html`
拷贝到
`wj`
项目中
`resources/static/`
目录下,然后直接运行
`wj`
项目,访问
`http://localhost:8443`
,实际上是把前端打包后作为静态文件,但不推荐使用这种方式。
...
...
@@ -178,9 +169,9 @@ npm run build
# 重要更新
## 2020
04-05 拆分前后端项目
01-20 利用开源 markdown 编辑器实现文章展示与管理模块
---
## 2019
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录