Install correct version/branch of (GNU Health) Tryton Sao client

This commit is contained in:
Disassembler 2017-12-03 23:38:36 +01:00
parent 6d9130524c
commit 9eb05d94ad
2 changed files with 20 additions and 1 deletions

View File

@ -20,7 +20,10 @@ mv /srv/gnuhealth-3.2.8 /srv/gnuhealth
rm -f /tmp/gnuhealth.tgz rm -f /tmp/gnuhealth.tgz
# Clone Sao (Tryton web client) repository # Clone Sao (Tryton web client) repository
git clone --depth 1 https://github.com/tryton/sao /srv/gnuhealth/sao git clone -b 4.2 --single-branch --depth 1 https://github.com/tryton/sao /srv/gnuhealth/sao
# Apply Sao (Tryton web client) dependencies patch
patch -d /srv/gnuhealth/sao -p0 <${SOURCE_DIR}/gnuhealth/gnuhealth-sao-dependencies.patch
# Create Python virtualenv # Create Python virtualenv
virtualenv --system-site-packages -p /usr/bin/python3 /srv/gnuhealth virtualenv --system-site-packages -p /usr/bin/python3 /srv/gnuhealth

View File

@ -0,0 +1,16 @@
--- package.bak 2017-12-03 23:27:54.280162096 +0100
+++ package.json 2017-12-03 23:29:24.384721720 +0100
@@ -54,6 +54,13 @@
"tryton"
],
"dependencies": {
+ "grunt": "^0.4",
+ "grunt-cli": "^0.1",
+ "grunt-contrib-concat": "^0.5",
+ "grunt-contrib-jshint": "^0.11",
+ "grunt-contrib-uglify": "^0.9",
+ "grunt-contrib-less": "^1.2",
+ "grunt-po2json": "^0.3",
"bower": "^1.7"
}
}