Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.83 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.83 KB

backendSample for a weeklyPlanner

Project Structure

Jenkins integration (only for development references)

Installation steps (by windows option)

Note: Make sure that you have all necessary plugins, Maven, Git, and Java tools already configured in Jenkins.

Create pipeline

  • From home page, select "New Item" and name it as Backend

  • Select "Freestyle Project"

  • Go to Settings and add the GitHub url for that project

  • Configure GitHub and Heroku repositories/credentials as following...

    Github

    • Add repository URL
    • Add your account credentials
    • Add a brief description of those credentials
    • Leave ID field empty

    Heroku

    • Add git repository URL of your app from heroku portal
    • Add your account credentials (email), and run this following commands to get your respective password (use your git CLI)
    1. $ heroku login
    2. $ heroku auth:token
  • Add a Build (Maven) as "package"

  • Add another build to publish to Heroku "heroku master" (consider that if your build fails is going to be deployed no matter what)

  • Run your build

Kafka Integration (Free version)

  1. CloudKaradka website provide you a free Apache Kafka instance at https://www.cloudkarafka.com
  2. Don't forget to set env variables for your application

Kafka-Docker Integration

  • PENDIENT