shadowings-zy / inspiration-notebook

一款在线多人协作笔记本 web 应用

Home Page:http://www.shadowingszy.top/inspiration-notebook/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

inspiration-notebook 记录你的灵感

inspiration-notebook 是一款多人协作笔记本 web 应用

前端项目

inspiration-notebook-front-end目录下是 inspiration-notebook 的前端工程文件,使用 vue 框架编写。

开发须知

开发之前请更改inspiration-notebook-front-end/config.json文件中的 url 参数,downloadZipUrl是下载笔记的 url,devServerUrl是开发时使用的 devServer 的 url。

安装依赖

npm install

开发应用

npm run serve

打包项目

npm run build

后台项目

inspiration-notebook-back-end目录下是 inspiration-notebook 的后台工程文件,使用 spring boot 框架编写,需要安装 maven。

开发须知

在开发之前请先更改inspiration-notebook-back-end/src/main/resources/application-dev.yml以及inspiration-notebook-back-end/src/main/resources/application-prod.yml这两个文件中的数据库配置。
以及更改inspiration-notebook-back-end/src/main/java/com.shadowingszy.tools/Tools.java中的zipPath变量,该变量是指定生成的 zip 文件在服务器文件系统中的位置。

部署流程

1、进入前端工程目录,执行npm run build,并将打包出的dist目录中的全部文件复制到src/main/resources/public目录下。
2、执行maven clean清理项目。
3、执行maven install生成 jar 文件。
4、在target目录下即可找到生成的inspiration-notebook-x.x.x.jar
5、将inspiration-notebook-x.x.x.jar放入服务器中,执行java -jar inspiration-notebook-x.x.x.jar
6、访问服务器的 8081 端口即可。

About

一款在线多人协作笔记本 web 应用

http://www.shadowingszy.top/inspiration-notebook/index.html


Languages

Language:Java 40.9%Language:Vue 33.6%Language:JavaScript 20.6%Language:CSS 2.6%Language:HTML 2.3%