You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.5 KiB
49 lines
1.5 KiB
5 years ago
|
# Backend development documentation
|
||
|
|
||
|
## Environmental requirements
|
||
|
|
||
|
* [Mysql](http://geek.analysys.cn/topic/124) (5.5+) : Must be installed
|
||
|
* [JDK](https://www.oracle.com/technetwork/java/javase/downloads/index.html) (1.8+) : Must be installed
|
||
|
* [ZooKeeper](https://mirrors.tuna.tsinghua.edu.cn/apache/zookeeper)(3.4.6+) :Must be installed
|
||
|
* [Maven](http://maven.apache.org/download.cgi)(3.3+) :Must be installed
|
||
|
|
||
|
Because the escheduler-rpc module in EasyScheduler uses Grpc, you need to use Maven to compile the generated classes.
|
||
5 years ago
|
For those who are not familiar with maven, please refer to: [maven in five minutes](http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html)(3.3+)
|
||
5 years ago
|
|
||
|
http://maven.apache.org/install.html
|
||
|
|
||
|
## Project compilation
|
||
|
After importing the EasyScheduler source code into the development tools such as Idea, first convert to the Maven project (right click and select "Add Framework Support")
|
||
|
|
||
|
* Execute the compile command:
|
||
|
|
||
|
```
|
||
|
mvn -U clean package assembly:assembly -Dmaven.test.skip=true
|
||
|
```
|
||
|
|
||
|
* View directory
|
||
|
|
||
5 years ago
|
After normal compilation, it will generate ./target/escheduler-{version}/ in the current directory.
|
||
5 years ago
|
|
||
|
```
|
||
|
bin
|
||
|
conf
|
||
|
lib
|
||
|
script
|
||
|
sql
|
||
|
install.sh
|
||
|
```
|
||
|
|
||
|
- Description
|
||
|
|
||
|
```
|
||
|
bin : basic service startup script
|
||
|
conf : project configuration file
|
||
|
lib : the project depends on the jar package, including the various module jars and third-party jars
|
||
|
script : cluster start, stop, and service monitoring start and stop scripts
|
||
|
sql : project depends on sql file
|
||
|
install.sh : one-click deployment script
|
||
|
```
|
||
|
|
||
|
|