Coder Social home page Coder Social logo

sage-system-java's Introduction

程序: JDK 8 Maven 3 Tomcat 7/8 MySQL 5 ElasticSearch (可选)

环境变量: JAVA_HOME M2_HOME TOMCAT_HOME PATH加上M2_HOME/bin:$JAVA_HOME/bin SAGE_FILES_HOME (可选, 默认值为用户目录)

数据库: 建一个数据库, 名字sage, 字符集utf8_general_ci 建一个用户, 名字sage, 密码1234, 给予所有权限

脚本(Linux/Mac为.sh, Windows为.bat): ./build.sh 构建+部署 ./web-build.sh 前端构建+部署(无需重启server) ./run.sh 启动server(Ctrl+C关闭) 首次启动后打开 localhost:8080/z-init 完成数据初始化

开发过程: 后端 - 写了代码, shutdown, build+run (./build.sh && ./run.sh) 前端 - 写了代码(css, js, httl), 执行web-build, server可保持开启

brew install maven
brew install tomcat

export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home
export TOMCAT_HOME=/Library/Tomcat

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.