Skip to content

rajasushanth/Topic-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Topic Web

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.

Getting Started

Clone the repository to your local by executing the command in git bash.

git clone https://github.com/rajasushanth/Topic-web.git

Prerequisites

  • JDK v1.8 or above
  • Maven v3.0.5 or above

Installing

  1. Verify following conditions are met
  1. Navigate to the project root where pom.xml resides
  2. Built the WAR module by executing mvn clean install

Continous Integration / Continous Deployment - Travis CI

Deployment steps

  1. Sign in to Travis CI with your GitHub account.
  2. Add the Topic-web repository in Travis CI
  3. Execute git push for GitHub repository, which triggers the build process and deploys the application in Pivotal cloud foundry

Manual Deployment

Running it in local

  1. Navigate tho the path where WAR build resides
  2. Execute the command in the command line java -jar topic-web-0.0.1-SNAPSHOT.jar

Running in Pivotal cloud foundry

  1. Create an account in Pivotal cloud foundry
  2. Install the Cloud Foundry CLI
  3. Get the manifest.yml
  4. Execute the command cf push

Author