Skip to content

Commit b6c348b

Browse files
committed
version 1.3.1
1 parent 58eb7e3 commit b6c348b

File tree

5 files changed

+28
-27
lines changed

5 files changed

+28
-27
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.tvd12</groupId>
77
<artifactId>ezyfox-server-archetype</artifactId>
8-
<version>1.3.0</version>
8+
<version>1.3.1</version>
99
<packaging>maven-archetype</packaging>
1010

1111
<name>ezyfox-server-archetype</name>

src/main/resources/archetype-resources/README.md

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,16 @@ ${symbol_pound}${symbol_pound} Run on your IDE
3737

3838
You just move to `${artifactId}-startup` module and run `ApplicationStartup`
3939

40-
${symbol_pound}${symbol_pound} Run by ezyfox-server
40+
${symbol_pound}${symbol_pound} Run by ezyfox-server portable
4141

4242
To run by `ezyfox-server` you need to follow by steps:
4343

4444
1. Download [ezyfox-sever](https://youngmonkeys.org/download)
4545
2. Open `build.sh` file and set `EZYFOX_SERVER_HOME` variable, let's say you place `ezyfox-server`
4646
at `/Programs/ezyfox-server` so `EZYFOX_SERVER_HOME=/Programs/ezyfox-server`
4747
3. Run `build.sh` file on your terminal
48-
4. Open file `EZYFOX_SERVER_HOME/settings/ezy-settings.xml` and add to `<zones>` tag:
48+
4. Copy ${artifactId}-zone-settings.xml to EZYFOX_SERVER_HOME/settings/zones folder
49+
5. Open file `EZYFOX_SERVER_HOME/settings/ezy-settings.xml` and add to `<zones>` tag:
4950

5051
```xml
5152
<zone>
@@ -55,14 +56,20 @@ To run by `ezyfox-server` you need to follow by steps:
5556
</zone>
5657
```
5758

58-
5. Run `console.sh` in `EZYFOX_SERVER_HOME` on your terminal, if you want to run `ezyfox-server` in backgroud you will
59+
6. Run `console.sh` in `EZYFOX_SERVER_HOME` on your terminal, if you want to run `ezyfox-server` in backgroud you will
5960
need to run `start-server.sh` on your terminal
6061

61-
${symbol_pound}${symbol_pound} Run without ezyfox-server
62+
If you are using libraries other than those provided by EzyFox Server, you will need to export these libraries to EzyFox Server using the following steps before proceeding to step 6:
6263

63-
To run without `ezyfox-server` you need follow by steps:
64+
1. Move to `${artifactId}-startup` module
65+
2. Run `mvn clean install -Denv.EZYFOX_SERVER_HOME=deploy -Pezyfox-deploy`
66+
3. Run class `${package}.tools.ExternalLibrariesExporter` in `${artifactId}-startup/src/test/java`
67+
68+
${symbol_pound}${symbol_pound}${symbol_pound} Run by ezyfox-server embedded
6469

65-
1. Run `bash export.sh` command
70+
To run without `ezyfox-server`, you can follow the steps outlined below:
71+
72+
1. Run `bash export.sh` command (or `\\.export.bat` on Windows)
6673
2. Move to `${artifactId}-startup/deploy` folder
6774

6875
${symbol_pound}${symbol_pound}${symbol_pound} On Windows
@@ -71,9 +78,9 @@ You just need run `console.bat`
7178

7279
${symbol_pound}${symbol_pound}${symbol_pound} On Linux
7380

74-
1. To run to debug, you just need run `bash console.sh` on your terminal
75-
2. To run in background, you just need run `bash start-service.sh` on your terminal
76-
3. To stop your service, you just need run `bash stop-service.sh` on your terminal
81+
1. For debugging purposes, run `bash console.sh` in your terminal
82+
2. To run in background, execute `bash start-service.sh` in your terminal
83+
3. To stop the service, execute `bash stop-service.sh` in your terminal
7784

7885
${symbol_pound}${symbol_pound} Run with specific configuration profile
7986

@@ -82,7 +89,11 @@ run `ezyfox-server` or your application with a specific profile
8289

8390
${symbol_pound} How to deploy?
8491

85-
${symbol_pound}${symbol_pound} Deploy mapping
92+
${symbol_pound}${symbol_pound} Deploy with ezyfox-server portable
93+
94+
You can take a look at this guide: [Deploy EzyFox Server](https://youngmonkeys.org/deploy-ezyfox-server/)
95+
96+
${symbol_pound}${symbol_pound}${symbol_pound} Deploy mapping
8697

8798
Modules which are deployed to ezyfox-server will be mapped as follows::
8899

@@ -91,14 +102,14 @@ Modules which are deployed to ezyfox-server will be mapped as follows::
91102
3. ${artifactId}-common => `ezyfox-server/common/ ${artifactId}-common-${version}.jar`
92103
4. ${artifactId}-plugin => `ezyfox-server/plugins/${artifactId}-plugin`
93104

94-
${symbol_pound}${symbol_pound} Deploy with tools
105+
${symbol_pound}${symbol_pound}${symbol_pound} Deploy with tools
95106

96107
You can use bellow tools to copy jar files (follow by above mapping)
97108

98109
1. [filezilla](https://filezilla-project.org/)
99110
2. [transmit](https://panic.com/transmit/)
100111

101-
${symbol_pound}${symbol_pound} Deploy with scp
112+
${symbol_pound}${symbol_pound}${symbol_pound} Deploy with scp
102113

103114
We've already prepared for you `deploy.sh` file, you just need:
104115

@@ -118,7 +129,7 @@ We've already prepared for you `deploy.sh` file, you just need:
118129
</zone>
119130
```
120131

121-
${symbol_pound}${symbol_pound} Deploy without ezyfox-server
132+
${symbol_pound}${symbol_pound} Deploy with ezyfox-server embedded
122133

123134
You just need use tool or `scp` to copy `${artifactId}-startup/deploy` to your server
124135

@@ -130,23 +141,13 @@ On your IDE, you need:
130141
2. Run `ApplicationStartup` in `src/main/java`
131142
3. Run `ClientTest` in `src/test/java`
132143

133-
${symbol_pound} How to deploy?
134-
135-
You can take a look this guide: [Deploy EzyFox Server](https://youngmonkeys.org/deploy-ezyfox-server/)
136-
137-
${symbol_pound} How to export external libraries to ezyfox server?
138-
139-
1. Move to `${rootArtifactId}-startup` module
140-
2. Run `mvn clean install -Denv.EZYFOX_SERVER_HOME=deploy -Pezyfox-deploy`
141-
3. Run class `${package}.tools.ExternalLibrariesExporter` in `${rootArtifactId}-startup/src/test/java`
142-
143144
${symbol_pound} Documentation
144145

145146
You can find a lot of documents on [youngmonkeys.org](https://youngmonkeys.org/ezyfox-sever/)
146147

147148
${symbol_pound} Contact us
148149

149-
- Touch us on [Facebook](https://www.facebook.com/youngmonkeys.org)
150+
- Email us [[email protected]](contact@youngmonkeys.org)
150151
- Ask us on [stackask.com](https://stackask.com)
151152

152153
${symbol_pound} Help us by donation

src/main/resources/archetype-resources/__rootArtifactId__-startup/deploy/console.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
EZYFOX_SERVER_HOME="${symbol_dollar}( cd "${symbol_dollar}( dirname "${symbol_dollar}{BASH_SOURCE[0]}" )" && pwd )"
88
echo 'current dir: ' $EZYFOX_SERVER_HOME
9-
CLASSPATH="lib/*:settings/*:common/*:apps/common/*:apps/resources/*"
9+
CLASSPATH="lib/*:settings"
1010
echo 'classpath: ' $CLASSPATH
1111
java $1 -cp $CLASSPATH ${package}.ApplicationStartup

src/main/resources/archetype-resources/__rootArtifactId__-startup/deploy/start-service.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if [ "x$MAX_HEAP_SIZE" != "x" ]; then
4040
JAVA_OPTS="$JAVA_OPTS -Xmx${symbol_dollar}{MAX_HEAP_SIZE}"
4141
fi
4242

43-
CLASSPATH="lib/*:settings/*:common/*:apps/common/*:apps/resources/*"
43+
CLASSPATH="lib/*:settings"
4444

4545
echo "${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}"
4646
echo "${symbol_pound} RUN_JAVA=$RUN_JAVA"

0 commit comments

Comments
 (0)