The current repo belongs to Closed status, and some functions are restricted. For details, please refer to the description of repo status
0 Star 0 Fork 0

Kay / simple-erp
Closed

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

变量命名规则:

  • action方法的访问名称都是小写的
  • 流程变量名=流程定义key(key尽量都是小写)

部署到本地前需要做的工作:

  1. 修改jdbc.properties,连接本地的MySQL数据库
  2. 修改jdbc.properties,连接本地的MySQL数据库
  3. 修改privilege.xml,定制自己的权限需求
  4. 注释com.erp.interceptors.CheckPrivilegeInterceptor的代码段(防止拦截初始化数据库命令)
  5. 执行init.action来初始化系统数据库
  6. 取消com.erp.interceptors.CheckPrivilegeInterceptor的注释,重新编译部署
  7. 访问http://localhost:8080/simple-erp 来登录系统(管理员账户:陈凯 ; 密码:admin)

部署到ACE前需要做的工作:

  1. 修改src/main/resources/jdbc.properties,连接RDS
  2. 本地初始化远程数据库
  • 注释com.erp.interceptors.CheckPrivilegeInterceptor的代码段(防止拦截初始化数据库的命令)
  • 访问http://localhost:8080/simple-erp/init.action 来初始化系统数据库
  • 取消com.erp.interceptors.CheckPrivilegeInterceptor的注释(即开始拦截所有非法请求,包括数据库初始化命令)
  1. 修改log4j.properties,添加aceAppender等线上环境
  2. 修改UserService实现类(com.erp.service.UserService)的获取IP地理位置的方式为IpUtil.ACE
  3. 修改com.erp.ueditor.upload.BinaryUploader类的save()方法下存储有关的操作,替换为ACE的OSS服务

note:

  • JDK 1.6或以上
  • Mysql 5或以上
  • Tomcat 6或以上
  • 文件上传目录:网站根目录/upload/时间戳/xxxxxx

Repository Comments ( 0 )

Sign in to post a comment

About

基于Struts2,Spring3,Hibernate4,Activiti5 的 简易erp项目 expand collapse
Java
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Java
1
https://git.oschina.net/kaysama/simple-erp.git
git@git.oschina.net:kaysama/simple-erp.git
kaysama
simple-erp
simple-erp
master

Search