Skip to content

onecampus/matrixspider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wechat matrix spider

dependencies

  1. gradle
  2. jsoup
  3. junit
  4. log4j
  5. mysql
  6. hibernate
  7. spring MVC
  8. jdic

github workflow

git clone git@github.com:onecampus/matrixspider.git
git branch -r
git checkout -b dev origin/dev # 检出 dev 分支, 并对应到本地的dev分支
git checkout -b your_name dev # 创建自己的私有分支, start_point 为dev
# 做修改, 提交, 注意不要推送到远程
git checkout dev # 切换到 dev 分支
git pull # 拉取远程更新
# 如果拉取遇到问题, 可能需要 git branch --set-upstream-to=origin/dev dev
git merge --no-ff your_name # 合并 your_name 到当前分支, 这里是 dev, 必须使用 --no-ff
git branch -d your_name # 删除 your_name 本地分支
git push origin dev # 推送 dev 分支到远程

eclipse

Maybe you need install gradle plugin for eclipse. Gradle Tooling

gradle cleanEclipse
gradle eclipse

idea

gradle cleanIdea
gradle idea

Usage

cp src/main/resources/hibernate.cfg.xml.example src/main/resources/hibernate.cfg.xml
cp src/main/resources/log4j2.xml.example src/main/resources/log4j2.xml

gradle wrapper
./gradlew build
gradlew jettyRun


#jar {
#    baseName = 'matrixspider'
#    version =  '0.1.0'
#    from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
#    manifest {
#        attributes 'Main-Class': 'com.onecampus.service.Application'
#    }
#}

Test

# Use gradle test to test it
gradle test

About

Wechat matrix spider from sougou.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages