Skip to content
This repository has been archived by the owner on May 15, 2018. It is now read-only.

Fix various problems with running on developer Ubuntu mach9ine #24

Merged
merged 2 commits into from Jul 26, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions build.sbt
Expand Up @@ -32,7 +32,7 @@ val scalaUri = "com.netaporter" %% "scala-uri" % "0.4.6"
val scalaz = "org.scalaz" %% "scalaz-core" % "7.1.1"
val membershipCommon = "com.gu" %% "membership-common" % "0.225"
val sentryRavenLogback = "com.getsentry.raven" % "raven-logback" % "7.2.3"
val memsubCommonPlayAuth = "com.gu" %% "memsub-common-play-auth" % "0.7"
val memsubCommonPlayAuth = "com.gu" %% "memsub-common-play-auth" % "1.0"
libraryDependencies ++= Seq(
cache,
ws,
Expand All @@ -51,7 +51,7 @@ dependencyOverrides += "com.typesafe.play" %% "play-json" % "2.4.6"

resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"

addCommandAlias("devrun", "run -Dconfig.resource=dev.conf 9111")
addCommandAlias("devrun", "run -Dconfig.resource=DEV.conf 9111")

import com.typesafe.sbt.packager.archetypes.ServerLoader.Systemd
serverLoading in Debian := Systemd
Expand All @@ -76,6 +76,6 @@ javaOptions in Universal ++= Seq(
"-J-XX:MaxMetaspaceSize=500m",
"-J-XX:+PrintGCDetails",
"-J-XX:+PrintGCDateStamps",
" -Dconfig.resource=prod.conf",
" -Dconfig.resource=PROD.conf",
s"-J-Xloggc:/var/log/${packageName.value}/gc.log"
)
2 changes: 1 addition & 1 deletion conf/dev.conf → conf/DEV.conf
Expand Up @@ -10,7 +10,7 @@
# experimenting, don't commit those changes. You may want to use this Git
# command to avoid accidentally committing noise:
#
# git update-index --assume-unchanged conf/dev.conf
# git update-index --assume-unchanged conf/DEV.conf
#
# (see http://stackoverflow.com/a/11366713/438886 for more details)

Expand Down
File renamed without changes.
3 changes: 0 additions & 3 deletions conf/application.conf
@@ -1,9 +1,6 @@
play.application.loader = "wiring.AppLoader"


# Config for the 'Vanilla' Membership site
include "copy"

play.http.session.secure=true

play.http.errorHandler = "monitoring.ErrorHandler"
Expand Down