3 |
|
|
4 |
# Note: this script works on debian 7 /wheezy |
# Note: this script works on debian 7 /wheezy |
5 |
# I haven't yet managed to get it to work on deb8/jessie |
# I haven't yet managed to get it to work on deb8/jessie |
6 |
|
# I running on a raspberry1 raspian/wheezy - downgrade node.js to 5.4.0 |
7 |
|
|
8 |
BRANCH=master |
BRANCH=master |
9 |
|
|
135 |
npm run build || exit |
npm run build || exit |
136 |
cd .. |
cd .. |
137 |
|
|
138 |
|
if [ ! -f "/etc/xo-server/config.yaml" ] then |
139 |
|
echo "please setup /etc/xo-server/config.yaml" |
140 |
|
exit |
141 |
|
fi |
142 |
|
|
143 |
restartxo |
restartxo |
144 |
|
|
145 |
|
|