Install EzyPlatform
Updated at 1715336343000Using Docker
You can run the following command:
docker pull youngmonkeys/ezyplatform
To download the Docker image. Then run the command:
docker run --name=ezyplatform -p 9090:9090 -p 8080:8080 -p 18080:18080 -p 3005:3005 -p 2208:2208 -p 2611:2611/udp -d youngmonkeys/ezyplatform:latest
Docker has an issue, it may not automatically apply plugin in after restart, so you need to move admin dashboard and web dashboard to restart manually.
Please note that running ezyplatform with Docker is only for testing and experiencing purposes. To use ezyplatform in the long term, you must not use Docker as instructed below.
Mysql credential is: root/12345678
Not using Docker
Installation Steps
- Download and install JDK 8. You can download from oracle here.
- Setup JAVA_HOME environment variable, you can take a look here.
- Install Mysql, you can refer to the MySQL documentation.
- Go to the EzyPlatform home page and download the installation package.
- Extract the downloaded file to obtain the EzyPlatform folder. Open this folder.
- Open the
settings/setup.properties
file and modify the corresponding datasource information.
Please make sure you're running Java 8 by run command java -version
to check.
For Linux, MacOS
- Open the terminal and navigate to the downloaded EzyPlatform folder using the
cd
command. - Run the command:
bash cli.sh "console admin"
. If you seeEZYHTTP READY
displayed, it means you have successfully installed it. If an exception occurs, it means you have misconfigured thedatasource
. - Access the following URL: http://localhost:9090/setup-admin.
- Fill in the necessary information to create a super admin account.
- After successfully entering the information, click the
submit
button to complete the EzyPlatform installation. - Return to the terminal and press
crlt + C
to exit the console mode. - Run the command:
bash cli.sh "start admin" ; tail -f logs/admin-server.log
to start EzyPlatform in the background and monitor any error logs thrown. However, usually there won't be any errors at this step. - If you want to start the website, access the following URL: http://localhost:9090/dashboard/web and click the
start
button. However, at this point, only the default theme will be started, so you will need to download a different theme according to your preference. - If you want to start the socket server, access the following URL: http://localhost:9090/dashboard/socket and click the
start
button.
For Windows
- Open the command prompt (cmd) and navigate to the downloaded EzyPlatform folder using the
cd
command. - Run the command:
.\cli.bat "console admin"
. If you seeEZYHTTP READY
displayed, it means you have successfully installed it. If an exception occurs, it means you have misconfigured thedatasource
. - Access the following URL: http://localhost:9090/setup-admin.
- Fill in the necessary information to create a super admin account.
- After successfully entering the information, click the
Submit
button to complete the EzyPlatform installation. - If you want to start the website, open a new cmd, navigate to ezyplatform, and run the command
.\cli.bat "console web"
. However, at this point, only the default theme will be launched, so you'll need to download another theme according to your preference. - If you want to start the socket page, open a new cmd, navigate to ezyplatform, and run the command
.\cli.bat "console socket"
.
Stop EzyPlatform
- For Linux: Run the command:
bash cli.sh stop
. - For Windows: Close all cmd windows.
The next step you can take is: Add a plugin to your installed EzyPlatform.