Tools: Docker, Maven
-
go to application root folder(where is pom.xml file)
-
run this commands in terminal
chmod +x run.sh
./run.sh
-
go to application root folder(where is pom.xml file)
-
build application by maven
mvn clean install
- create docker image
docker build -t <imagename> .
- run docker image on port 8080
docker run -p8080:8080 <imagename>
- username: Admin001 pw: 1234 role: ADMIN
- username: User0001 pw: 1234 role: --
- username: Accou001 pw: 1234 role: ACCOUNTANT
Only admin can create new users. When a user is created, an alphanumeric code is generated, which is used as a username, and a four-digit pin, which is used as a password. This data is sent to the user's email (if the "Send email" option is checked). The password can be changed by the administrator in user editing page.