Skip to content

Commit

Permalink
Updating version from 1.0.2-SNAPSHOT to v1.0.2 for release
Browse files Browse the repository at this point in the history
Using latest release of kurator-validation (v1.0.2)
  • Loading branch information
lowery committed May 25, 2018
1 parent 3febded commit bbab26e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -214,8 +214,8 @@ Once the web application is configured, build a distribution zip file via the in
Unzip the distribution archive to the deployments directory in /home/kurator and create a symbolic link "kurator-web" for the current deployment:

cd /home/kurator
unzip kurator-web/target/universal/kurator-web-1.0.2-SNAPSHOT.zip -d deployments
ln -s deployments/kurator-web-1.0.2-SNAPSHOT kurator-web
unzip kurator-web/target/universal/kurator-web-1.0.2.zip -d deployments
ln -s deployments/kurator-web-1.0.2 kurator-web

By default, kurator-web expects to find the "packages" directory relative to the deployment root directory (e.g. /deployments/kurator-web/packages). Create a symbolic link in the deployment that points to the packages directory in the kurator-validation project to deploy workflows:

Expand All @@ -229,7 +229,7 @@ NOTE: in order to update the Java workflows, which are contained in the kurator-
Run the play production server from the distribution directory unzipped within deployments. Use

cd deployments/kurator-web
bin/kurator_web -Dhttp.port=80 -Dkurator.jar=/home/kurator/projects/kurator-validation/target/kurator-validation-1.0.2-SNAPSHOT-jar-with-dependencies.jar
bin/kurator_web -Dhttp.port=80 -Dkurator.jar=/home/kurator/projects/kurator-validation/target/kurator-validation-1.0.2-jar-with-dependencies.jar

By default the Play server will listen on port 9000 however the -Dhttp.port used in the command above to set the port to 80 can be used to change the default. Open http://localhost/kurator-web/ in your browser after starting the server to test the web application.
The -Dkurator.jar option is required and should point to a copy of the kurator-validation jar and is used by the command-line workflow runner in the web app to run workflows.
Expand All @@ -246,7 +246,7 @@ Create a unit file for the kurator web systemd service at `/etc/systemd/system/k
MemoryLimit=8G
PIDFile=/home/kurator/kurator-web/RUNNING_PID
WorkingDirectory=/home/kurator/kurator-web
ExecStart=/home/kurator/kurator-web/bin/kurator-web -Dhttp.port=80 -Dkurator.jar=/home/kurator/projects/kurator-validation/target/kurator-validation-1.0.2-SNAPSHOT-jar-with-dependencies.jar
ExecStart=/home/kurator/kurator-web/bin/kurator-web -Dhttp.port=80 -Dkurator.jar=/home/kurator/projects/kurator-validation/target/kurator-validation-1.0.2-jar-with-dependencies.jar
Restart=on-failure
User=root
Group=kurator
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Expand Up @@ -2,7 +2,7 @@ import sbt.ExclusionRule

name := "kurator-web"

version := "1.0.2-SNAPSHOT"
version := "1.0.2"

fullResolvers := Seq(
"Open Source Geospatial Foundation Repository" at "http://download.osgeo.org/webdav/geotools/",
Expand All @@ -29,7 +29,7 @@ libraryDependencies ++= Seq(
"commons-io" % "commons-io" % "2.4",
"org.pac4j" % "play-pac4j" % "2.4.0",
"org.mindrot" % "jbcrypt" % "0.3m",
"org.kurator" % "kurator-validation" % "1.0.2-SNAPSHOT" exclude("com.typesafe.akka", "akka-actor_2.10") exclude("com.typesafe.akka", "akka-slf4j_2.10"),
"org.kurator" % "kurator-validation" % "1.0.2" exclude("com.typesafe.akka", "akka-actor_2.10") exclude("com.typesafe.akka", "akka-slf4j_2.10"),
"mysql" % "mysql-connector-java" % "5.1.18",
"org.webjars" % "requirejs" % "2.1.11-1",
"com.typesafe.play" %% "play-mailer" % "5.0.0",
Expand Down

0 comments on commit bbab26e

Please sign in to comment.