- run command
mvn clean package
- build war dir
mvn clean package - copy
web/(css|i|js)toJBOSS_BASE/server/default/deploy/jbossweb-tomcat55.sar/ROOT.warfor static files - copy
target/reviewtoJBOSS_BASE/server/default/deploy/review.war
- navigate to
JBOSS_BASE/binand then run./run.sh(you should run in this folder if you don't updateexttemplatesdirvalue in token.properties)
- replace
token.propertiestotoken.properties.localon pom.xml line 894 - add
127.0.0.1 local.topcoder-dev.comto your hosts - build war dir
mvn clean package - run
docker-compose up -din root dir. - open
https://topcoder-dev.com/loginand usedok/appirio123to login. - open
http://local.topcoder-dev.com:8080/review
before build this image, you should make sure you've set the token.properties corresponding to the environment if you use docker container to run this project, you should use
host.docker.internalto connect the host machine.
- build war dir
mvn clean package - run
docker build -t tc-online-review:dev -f ECSDockerfile --platform=linux/amd64 .in root dir. - run
docker-compose -f docker-compose-dev.yml up -din root dir to start docker container.