Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.26 KB

README.md

File metadata and controls

52 lines (34 loc) · 1.26 KB

Setup environment

For Windows, if you can't install Docker Desktop due to legal or policy reason, please follow this instruction to setup environment

  • Install JDK 17
  • Install docker and docker compose
  • Please add the following host names into your hosts file
127.0.0.1 mysql.tool.net
127.0.0.1 mock-server.tool.net
127.0.0.1 web-driver.tool.net
127.0.0.1 host.docker.internal
  • Start environment for running tests of web (x86)
cd env/compose/dc_pc
docker compose up web

After environment started, you should be able to access the chrome for running tests at http://localhost:7900. Just click the connect button

Also, you can access the database at http://localhost:20000 with username admin and password 123456. The database name is db.

If you are running tests of android, please connect your device or local emulator and then run docker compose up android.

Run the application

For Linux and Mac

./gradlew bootRun

For Windows

gradlew.bat bootRun

Open the application

After run the application, you can open the application at http://localhost:10081

And, the swagger document is available at http://localhost:10081/swagger-ui/index.html

Architecture