You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wukong Software has long provided enterprises with information services such as R&D, implementation, marketing, consulting, training and service of enterprise management software (CRM/HRM/OA/ERP, etc.). We have taken high technology as its starting point, technology as the core, and perfect after-sales service as its backing. With the spirit of stability and development, factualism and innovation, it has provided services for thousands of enterprises at home and abroad.
3
+
4
+
5
+
The development of Wukong benefits from open source and vice versa. In 2019, Wukong CRM will continue to adhere to the concept of “embracing openness, cooperation and win-win, creating value”, move forward on the road of open source, and make positive contributions to open source at home and abroad with more community developers.
6
+
7
+
8
+
Official website:[http://www.5kcrm.com](http://www.5kcrm.com/)
9
+
10
+
Official website:[http://www.72crm.com](http://www.72crm.com/)
Wukong CRM adopts a new mode separating front-end from back-end. The front-end vue packaged files have been integrated into the warehouse code, eliminating the need for packaging operations.
17
+
18
+
If you need to adjust the front-end code, please download the front-end code separately. The front-end code is in the ux folder of the root directory.
19
+
20
+
21
+
## Main technology stack
22
+
23
+
Core framework:jfinal3.8
24
+
25
+
Cache:redis
26
+
27
+
Database connection pool:Druid
28
+
29
+
Tools:hutool,fastjson,poi-ooxml
30
+
31
+
Timed task:jfinal-cron
32
+
33
+
Project build tool:maven
34
+
35
+
Web container:tomcat,jetty,undertow(默认)
36
+
37
+
Front-end MVVM framework:Vue.JS 2.5.x
38
+
39
+
Routing:Vue-Router 3.x
40
+
41
+
Data interaction:Axios
42
+
43
+
UI framework:Element-UI 2.6.3
44
+
45
+
46
+
47
+
## Installation Instructions
48
+
49
+
50
+
Configure java runtime environment, redis environment and mysql environment, import 72crm.sql in directory doc to the database, modify the database in `resources/config/erpsnow-config.txt` and redis configuration file, modify undertow startup port number in `resources/config/undertow.txt`.
51
+
52
+
53
+
54
+
55
+
56
+
## Deployment Instructions
57
+
58
+
This project JDK requires JDK8 and above.
59
+
60
+
### 一、Tomcat deployment
61
+
62
+
63
+
```
64
+
<dependency>
65
+
<groupId>javax.servlet</groupId>
66
+
<artifactId>javax.servlet-api</artifactId>
67
+
<version>4.0.1</version>
68
+
<scope>provided</scope>
69
+
</dependency>
70
+
```
71
+
72
+
Uncomment the above code, comment undertow references, change package method to war, run the maven package command, and place the war package in the `tomcat/webapps directory`.
73
+
74
+
### 二、Jetty部署
75
+
76
+
77
+
```
78
+
<dependency>
79
+
<groupId>com.jfinal</groupId>
80
+
<artifactId>jetty-server</artifactId>
81
+
<version>2019.3</version>
82
+
<scope>provided</scope>
83
+
</dependency>
84
+
```
85
+
86
+
Uncomment the above code, comment tomcat and undertow references, change packaging to jar and the rest of steps are the same as Undertow.
87
+
88
+
### 三、Undertow (default)
89
+
90
+
91
+
```
92
+
<dependency>
93
+
<groupId>com.jfinal</groupId>
94
+
<artifactId>jfinal-undertow</artifactId>
95
+
<version>1.5</version>
96
+
</dependency>
97
+
```
98
+
99
+
100
+
101
+
Uncomment the above code, comment jetty and undertow references, change packaging to jar and run maven package. Upload the zip file generated by the above package command to the server and extract it. Put 72crm.sh/72crm.bat in the decompressed directory and run it.
102
+
When you change the startup mode jetty and undertow, you need to change the startup file in Application.java.
103
+
104
+
105
+
106
+
107
+
108
+
### Front-end deployment
109
+
110
+
The front-end part of installing node.js is based on node.js, so you must first install node.js with a version number of 6.0 or higher.
111
+
112
+
Use npm to install dependencies, download the Wukong CRM9.0 front-end code; place the code in the backend peer directory frontend, execute the command to install dependencies:
113
+
114
+
npm install
115
+
116
+
Modify the internal configuration and request address or domain name: modify BASE_API (development environment server address, default localhost) in config / dev.env.js. Modify the custom port: the dev object port parameter (default 8080, not recommend to modify) in config / index.js.
117
+
118
+
### Running front end
119
+
120
+
npm run dev
121
+
122
+
Note: The front-end service starts, it will occupy port 8080 by default. Before starting the front-end service, please make sure that port 8080 is not occupied. The Server port needs to be set up before the program runs.
0 commit comments