From 7b630aefc8a81e22e5d62101fb65b2b304f099bf Mon Sep 17 00:00:00 2001 From: Andreas Schwarte Date: Mon, 27 Jul 2020 14:35:17 +0200 Subject: [PATCH] WIK-85: add build script for re-creating Wikidata app artifact --- .gitignore | 3 ++- README.md | 5 +++++ build.sh | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100755 build.sh diff --git a/.gitignore b/.gitignore index b9351a0..a3e1387 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .project -.DS_Store \ No newline at end of file +.DS_Store +wikidata.zip diff --git a/README.md b/README.md index fc7f0c1..bdf66d6 100644 --- a/README.md +++ b/README.md @@ -24,3 +24,8 @@ Notes: * we recommend to deploy the app in a fresh metaphactory installation * please make sure to use a compatible app version (e.g. Wikidata 3.5 for metaphactory 3.5.x) + + +## Building the app artifact + +Using the provided `build.sh` script it is possible to (re)-build the Wikidata app artifact (e.g. when you did local modifications). The artifact can then be deployed on the target system as described above. \ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..c89af2d --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ +#!/bin/bash +zip -r wikidata.zip wikidata \ No newline at end of file