Skip to content

About

Server for driver pete

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

196 Commits

Folders and files

Repository files navigation

driver-pete-server

Server for driver pete

Security properties can be set adding security.properties file to the src/main/resources:

facebook.appKey= facebook.appSecret= token.secret=<BIG RANDOM STRING (e.g. 96 characters)>

AWS_ACCESS_KEY_ID=<YOUR_AWS_ACCESS_KEY> AWS_SECRET_KEY=<YOUR_AWS_SECRET_KEY>

Example of token secret: wergwegoDsTmXfogIieDI0cD/8FpnojdfghdfJT5U9I/FGVmBzwertR8cbXTvoPjX+Pq/T/b1PqpHX0lYm0oCBjXWICA==

On other platforms (travis or amazon) security properties can be set using environmental variables. Notice that you can not set env var with '.', use '_' instead (e.g. export token_secret=<...>)

==========================

How to upload to amazon beanstalk.

  • add security.properties file into the src/main/resources
  • change spring.profiles.active=beanstalk in applicaton.properties
  • run ./gradlew war
  • go to beanstalk console, create a new environment with tomcat server
  • click "Upload and deploy" in the new environment, choose .war file from build/libs

About

Server for driver pete

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages