WebApp for the wutsi blog platform
- JDK 1.8
- MySQL 5.6+
- Maven 3.6+
- Google Chrome
- Setup Maven
- Setup a token to get access to Github packages
- Goto https://github.com/settings/tokens
- Click on
Generate New Token
- Give a value to your token
- Select the permissions
read:packages
- Register the repositories in
~/.m2/settings.xml
- Setup a token to get access to Github packages
<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>
- Download the code and build
$ git clone git@github.com:wutsi/wutsi-blog-web.git
$ cd wutsi-blog-web
$ mvn clean install
- Install the Blog API wutsi-blog-service
- Install the Tracking API wutsi-track-service
- Download your chromedriver version there
- Move this chromedriver in application root
- Run your tests
mvn clean install -Dheadless=true
- Launch wutsi-blog-service
- Launch wutsi-track-service
- Launch the webapp on port
8081
with the command:
$ java -jar target/wutsi-blog-web.jar
- Navigate to
http://localhost:8081
mvn antrun:run@ktlint
mvn antrun:run@ktlint-format
mvn jacoco:report