Git Product home page Git Product logo

teachline's Introduction

TeachLine

这是一个基于SSM框架的在线教育网站

详细教程可查看项目目录下的 doc中的idea 开发使用教程

项目环境说明:(版本应当不低于以下版本) 开发平台:Windows10

jdk版本:1.8

IntelliJ IDEA 版本:2.5

Tomcat版本:8.0

Maven 版本:3.5

1. 执行SQL文件,添加数据

具体软件操作可以参考以下百度经验 IntelliJ IDEA 如何连接MySQL

IntellliJ IDEA IntelliJ 如何创建数据表和SQL文件

2. 导入项目

项目导入

3. 配置maven,选择jdk运行环境

windows10如何安装Maven 选择Maven 文件 选择Maven jdk 配置

jdk 配置

4. 配置项目

属性文件路径:\src\main\resources\project.properties 注:只需配置和修改sql主机地址,数据库名,用户名,密码, 项目访问路径,这几个属性,项目即可正常运行访问。

#数据库连接配置
#数据库主机地址
jdbc.host=127.0.0.1
#数据库名
jdbc.database=demo_inxedu_v2_0_open
#数据库用户名
jdbc.username=
#数据库密码
jdbc.password=

#项目访问路径
contextPath=http://127.0.0.1:80

#邮箱配置
#邮箱信息
email.host=smtp.163.com
#邮箱号
email.username=
#邮箱密码
email.password=

#项目名
projectName=inxedu
#Cookie域
mydomain=
#授权账户
authorizationAccount=inxedu
#授权key
authorizationKey=edc3d9c3765ac000f05e2ced93756603

修改启动端口Maven pom.xml port

<!-- tomcat plugin -->
<plugin>
    <groupId>org.apache.tomcat.maven</groupId>
    <artifactId>tomcat7-maven-plugin</artifactId>
    <version>2.2</version>
    <configuration>
        <path>/</path>
        <port>80</port>
        <uriEncoding>UTF-8</uriEncoding>
        <url>http://127.0.0.1/manager</url>
        <server>tomcat7</server>
        <contextReloadable>true</contextReloadable>
        <warSourceDirectory>src/main/webapp</warSourceDirectory>
        <contextReloadable>false</contextReloadable>
    </configuration>
</plugin>

5. 编译项目

Clean》 Clean Install》 Install

6. 项目运行

6.1 单击Run-->Edit Configurations...--> 添加maven Maven项目运行

7. 项目访问

前台http://127.0.0.1/ 测试账号:[email protected] 111111

后台 http://127.0.0.1/admin 测试账号:admin 111111

8.效果预览图

效果预览

teachline's People

Contributors

95dbc avatar luo-jin-hua avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.