资源算法FlairsTech-WorkShop

FlairsTech-WorkShop

2020-04-09 | |  38 |   0 |   0

# FlairsTech-WorkShop


this project is a sample test-workshop from FlairsTech :
objective is to demonstrate how to deploy a java 8 spring-boot web-app with Postgres database via docker.

project-prerequisites :
1. Java8 installed

2. mvn installed

3. docker installed

 

Get & Run the Project :

   in an empty folder or directory , open terminal or CMD 

   and enter the following commands in sequance :

 1. git clone --progress -v "https://github.com/aboelsoud3/FlairsTech-WorkShop.git"

 2.  cd FlairsTech-WorkShop/

 3. mvn clean install

 4. docker build -t aboelsoud/workshop .

 5. cd docker

 6. docker-compose up -d

  now 2 containers are up & runnig one for DataBase and the other for Application

 

Test the Application :

 now you can test the application :

    open webBrowser and type : http://localhost:8080/ASM

or from terminal type : curl http://localhost:8080/ASM  

you sould see some thing like this :

{"code":"ASM","name":"American Samoa","continent":"Oceania","population":68000,"life_expectancy":75.0999985}

 

 

 

 thanks alot,

kindly note that this is done in so short time ,

so please forgive me for any mistake .


上一篇:flairs28-presentation

下一篇:shout-bot-flair

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...