Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Prepare release 1.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijskant committed Jan 8, 2018
1 parent 30a33dd commit 1bf0c52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ gradle wrapper
cd src/main/user-interface
npm start

# Package, creates build/lib/data-showcase-0.0.1-SNAPSHOT.war
# Package, creates build/lib/data-showcase-1.0.0.war
./gradlew assemble

# Run the war
java -jar build/libs/data-showcase-0.0.1-SNAPSHOT.war
java -jar build/libs/data-showcase-1.0.0.war
```

## Publish
Expand All @@ -53,7 +53,7 @@ Publish to Nexus:
# Deploy to the Nexus repository https://repo.thehyve.nl
./gradlew publish
```
This publishes the artifact `nl.thehyve:data-showcase:0.0.1-SNAPSHOT:war`.
This publishes the artifact `nl.thehyve:data-showcase:1.0.0:war`.

## Deploy
For deployment, fetch the application war file from the Nexus repository,
Expand All @@ -62,7 +62,7 @@ and run the application with an external config file:
MEMORY_OPTIONS="-Xms2g -Xmx2g -XX:MaxPermSize=512m"
JAVA_OPTIONS="-server -Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom"
APP_OPTIONS="-Dgrails.env=prod -Dspring.config.location=/home/user/data-showcase-internal.yml"
java -jar ${JAVA_OPTIONS} ${MEMORY_OPTIONS} ${APP_OPTIONS} data-showcase-0.0.1-SNAPHOT.war
java -jar ${JAVA_OPTIONS} ${MEMORY_OPTIONS} ${APP_OPTIONS} data-showcase-1.0.0.war
```

Example configuration file `data-showcase-internal.yml`:
Expand Down
2 changes: 1 addition & 1 deletion data-showcase/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
}

ext {
dataShowcaseVersion = '0.0.1-SNAPSHOT'
dataShowcaseVersion = '1.0.0'
nodeVersion = '7.10.1'
modelMapperVersion = '1.1.0'
}
Expand Down

0 comments on commit 1bf0c52

Please sign in to comment.