Giter VIP home page Giter VIP logo

bm-vue-springboot's Introduction

Demo用户名:admin, Demo密码:123

本地运行

vue init webpack bm-front
npm install --save axios
npm i element-ui
npm install --save vuex

部署到云服务器(linux)

ssh到远程服务器,安装相关环境
MySQL

apt-get update
sudo apt-get install mysql-server
systemctl status mysql.service
mysql -u root -p
mysql> select version();

JDK 1.8

sudo apt-get install openjdk-8-jdk
java -version
javac -version
echo "JAVA_HOME=$(which java)" | sudo tee -a /etc/environment
source /etc/environment
echo $JAVA_HOME

Redis

apt install redis-server
systemctl restart redis.service
sudo systemctl status redis

MySQL建表

create database bm character set utf8;
source bm.sql

terminal中运行,关闭terminal结束

java -jar wishlist-0.0.1-SNAPSHOT.jar

后台运行

nohup java -jar xxx.jar > xxx.txt &
jobs  // 查看后台程序
netstat -nlp | grep :8989 // 查看端口占用情况

Nginx

sudo apt-get install nginx
systemctl status nginx
nginx -t会返回配置信息的目录
cd /etc/nginx/sites-enabled
vim default

TODO

引入swagger进行更好的api管理
引入RBAC,进行用户注册、权限管理
查询sql加索引优化
基于where的分页查询

bm-vue-springboot's People

Contributors

kaiwenkevinz avatar

Watchers

James Cloos avatar  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.