Browse Source

Updated server code to support eclipse and added "secret key" for heroku.

Note: Secret key is very not secret since it's in our public repo.
Thomas Flucke 9 năm trước cách đây
mục cha
commit
8aa2024c5b
3 tập tin đã thay đổi với 3 bổ sung10 xóa
  1. 1 1
      server/build.sbt
  2. 1 0
      server/conf/application.conf
  3. 1 9
      server/project/plugins.sbt

+ 1 - 1
server/build.sbt

@@ -1,4 +1,4 @@
-name := """play-java"""
+name := """Free Food Finder"""
 
 version := "1.0-SNAPSHOT"
 

+ 1 - 0
server/conf/application.conf

@@ -41,6 +41,7 @@ akka {
 # The secret key is used to sign Play's session cookie.
 # This must be changed for production, but we don't recommend you change it in this file.
 play.crypto.secret = "changeme"
+play.crypto.secret = "4T2Iml95:FKgurH1yDY:TnNU_fTm`WDjU<EEcr:NuAT];i1vPfDEc>94D=Nhux1C"
 
 ## Modules
 # https://www.playframework.com/documentation/latest/Modules

+ 1 - 9
server/project/plugins.sbt

@@ -1,18 +1,10 @@
 // The Play plugin
 addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.14")
 
-// Web plugins
-addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
-addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.0")
-addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.4")
-addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.8")
-addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.1")
-addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.1.0")
-addSbtPlugin("org.irundaia.sbt" % "sbt-sassify" % "1.4.6")
-
 // Play enhancer - this automatically generates getters/setters for public fields
 // and rewrites accessors of these fields to use the getters/setters. Remove this
 // plugin if you prefer not to have this feature, or disable on a per project
 // basis using disablePlugins(PlayEnhancer) in your build.sbt
 addSbtPlugin("com.typesafe.sbt" % "sbt-play-enhancer" % "1.1.0")
 
+addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.1.0")