Install correct version/branch of (GNU Health) Tryton Sao client
This commit is contained in:
parent
6d9130524c
commit
9eb05d94ad
@ -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
|
||||||
|
16
gnuhealth/gnuhealth-sao-dependencies.patch
Normal file
16
gnuhealth/gnuhealth-sao-dependencies.patch
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user