GithubHelp home page GithubHelp logo

newprojbarfe's Introduction

Web工程大作业-项慕吧指南 by wxj

采用现代的前后端分离开发模式,前端与后端通过接口以JSON的数据形式进行通讯和交互,前后端隔离开发保证了异步工作的高效

前后端代码仓库地址

基本技术栈

前端

  • HTML5
  • CSS3
  • jQuery
  • Layui

后端

  • Spring Boot
  • MySQL

部署流程

  1. 提交自己的代码前最好先git pull一下,防止出现大范围的冲突
  2. 修改代码后,首先git add .提交所有修改的文件到暂存区,然后git commit -m "do something" ,然后推送到远程仓库git push origin master
  3. 登录到服务器并pull最新的代码,ssh [email protected],建议自己在hosts里面加个方便的别名,前端需要进入前端代码主目录cd /usr/share/nginx/html/projbar,然后进行git pull即可; 后端代码/root/projbar,同样git pull,注意拉下最新的代码后需要杀死之前的java项目进程,重新打jar包,并运行jar包。
  4. 杀死之前的Spring Boot进程:首先netstat -anp | grep 8081看pid是多少,然后直接kill pid就可以
  5. 后台打包并运行jar包:首先在根目录进行mvn package,然后进入target目录下,进行java -jar projbar-0.0.1-SNAPSHOT.jar 1>log 2>&1 &,jar包后面的命令意思是将标准输出和错误输出都重定向至log文件并后台运行。

newprojbarfe's People

Contributors

mr-ff avatar mu-charlie avatar wxjackie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.