项目作者: kmteras

项目描述 :
Web Application Development (LTAT.05.004)
高级语言: Java
项目地址: git://github.com/kmteras/polap.git
创建时间: 2018-02-14T12:35:37Z
项目社区:https://github.com/kmteras/polap

开源协议:

下载


Building

Downloading files
git clone https://github.com/Teras23/poll_application.git

Before building the application src/main/resources/application.yml if needed.

  1. spring:
  2. jpa.hibernate.ddl-auto: update
  3. datasource:
  4. url: jdbc:mysql://localhost:3306/<DATABASE NAME>?useSSL=false
  5. username: <USERNAME>
  6. password: <PASSWORD>
  7. profiles:
  8. active: google
  9. security:
  10. oauth2:
  11. client:
  12. clientId: <GOOGLE CLIENT ID>
  13. clientSecret: <GOOGLE CLIENT SECRET>
  14. accessTokenUri: https://www.googleapis.com/oauth2/v4/token
  15. userAuthorizationUri: https://accounts.google.com/o/oauth2/v2/auth
  16. clientAuthenticationScheme: form
  17. scope:
  18. - openid
  19. - email
  20. - profile
  21. resource:
  22. userInfoUri: https://www.googleapis.com/oauth2/v3/userinfo
  23. preferTokenInfo: true
  24. server:
  25. compression:
  26. enabled: true
  27. mime-types: text/html,text/css,application/javascript,application/json

Installing gradle
sudo apt-get install gradle

Building
cd poll_application
gradle build