wutsi-blog-web

WebApp for the wutsi blog platform

Getting Started

Pre-requisites

  • JDK 1.8
  • MySQL 5.6+
  • Maven 3.6+
  • Google Chrome
  • Setup Maven
    • Setup a token to get access to Github packages
    • Register the repositories in ~/.m2/settings.xml
settings> ... <servers> ... <!-- Configure connectivity to the Github repositories --> <server> <id>github-wutsi-blog-client</id> <username>YOUR_GITHIB_USERNAME</username> <password>YOUR_GITHIB_TOKEN</password> </server> <server> <id>github-wutsi-core</id> <username>YOUR_GITHIB_USERNAME</username> <password>YOUR_GITHIB_TOKEN</password> </server> <server> <id>github-wutsi-core-aws</id> <username>YOUR_GITHIB_USERNAME</username> <password>YOUR_GITHIB_TOKEN</password> </server> </servers> </settings>

Installation

  • Download the code and build
$ git clone git@github.com:wutsi/wutsi-blog-web.git
$ cd wutsi-blog-web
$ mvn clean install

Run test

  • Download your chromedriver version there
  • Move this chromedriver in application root
  • Run your tests
mvn clean install -Dheadless=true

Launch the application

$ java -jar target/wutsi-blog-web.jar
  • Navigate to http://localhost:8081

How to

How to format code

mvn antrun:run@ktlint

How to check code formatting error

mvn antrun:run@ktlint-format

How to generate coverage report

mvn jacoco:report
Visit original content creator repository https://github.com/WutsiTeam/wutsi-blog-web

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *