Load file from '/conf' directory on Cloudbees

前端 未结 3 1416
暗喜
暗喜 2020-12-17 20:52

What we do :

We run Play2 application on Cloudbees and we load a file from \'/conf\' directory (inside the classpath of the application).

These 2 snippets

3条回答
  •  抹茶落季
    2020-12-17 21:38

    It seems that Heroku run play apps via "play start" or "play run" which is not the recommended way for play apps to run in production - this explains why "conf" is visible there - although this could change in a future version of play.

提交回复
热议问题