AngularJS, SockJS, SpringBoot, MyBatis, MySQL
Demo: http://47.99.102.138:8080
-
Install docker and docker-compose;
-
Download file from https://raw.githubusercontent.com/aaronchen2k/ngtesting-platform/master/docker-compose.yml ;
-
In same dir, enter "docker-compose up" to launch.
First time, you may get an error caused by MySQL service not ready for web server connectting, just run Step 3 again to fix.
Once you create and start containers by using "docker-compose up" command, next time you should use "docker-compose start|stop" to avoid to docker-compose re-creating the container after the remote image changed, which will cause data-losing.
-
Open http://localhost:58080/test.html using Chrome.
-
Create dir "/work/ngtesting-data/" for file upload;
-
Create a MySQL database named "ngtesting-web";
-
Add MySQL user "ngtesting" with password "P2ssw0rd";
-
Run "git clone https://github.com/aaronchen2k/ngtesting-platform.git";
-
Import "src/main/docker/mysql/schema.sql" to database;
-
In project dir, enter command "xdoc/ngtesting-web-1.*.jar" to run;
You may change the config params in application.yml file like this: "xdoc/ngtesting-web-1.*.jar --config.mysql.host=10.0.0.10 --config.mysql.port=3306".
-
Open http://localhost:8080/test.html using Chrome.
All source code is licensed under the GPLv3 License.