Skip to content

chrischowaniec/gettingStarted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

The book

alt text

Buy it here

Git

Java

Test instalation:

    java --version

Docker

Test instalation:

`docker --version ` 

Test Environment

  • Fork helloWorld repo

  • Clone forked repo

       git clone [email protected]:<UserName>/helloWorld.git 
    
      cd helloWorld
    
  • build application:

      ./gradlew build               
    
  • run app

      java -jar build/libs/hello-world-spring-boot-docker-0.1.0.jar
    
  • open new terminal

      curl http://localhost:8080/helloWorld
    
  • close terminal and stop application

  • build docker container

      docker build . -t hellodocker
    
  • run docker

      docker run  -it -p8080:8080 hellodocker
    
  • open new terminal

      curl http://localhost:8080/helloWorld
    

IDE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published