Topic web is the presentation layer for Topic application built using boostrap and Thymeleaf - a powerful templating engine with default support for Spring framework. It consumes the REST API exposed by Topic Service and authenticated via JWT tokens.
Clone the repository to your local by executing the command in git bash.
git clone https://github.com/rajasushanth/Topic-web.git
- JDK v1.8 or above
- Maven v3.0.5 or above
- Verify following conditions are met
- Topic Config service running
- Topic Service service running
- Navigate to the project root where pom.xml resides
- Built the WAR module by executing
mvn clean install
Deployment steps
- Sign in to Travis CI with your GitHub account.
- Add the Topic-web repository in Travis CI
- Execute
git push
for GitHub repository, which triggers the build process and deploys the application in Pivotal cloud foundry
Running it in local
- Navigate tho the path where WAR build resides
- Execute the command in the command line
java -jar topic-web-0.0.1-SNAPSHOT.jar
Running in Pivotal cloud foundry
- Create an account in Pivotal cloud foundry
- Install the Cloud Foundry CLI
- Get the manifest.yml
- Execute the command
cf push
- RajaSushanth - GitHub RajaSushanth