mirror of https://github.com/wekan/wekan
The Open Source kanban (built with Meteor). Keep variable/table/field names camelCase. For translations, only add Pull Request changes to wekan/i18n/en.i18n.json , other translations are done at https://transifex.com/wekan/wekan only.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
954 B
39 lines
954 B
![]()
4 years ago
|
#!/bin/bash
|
||
|
|
||
|
# This script is only for Wekan maintainer to
|
||
|
# convert x64 bundle to ppc64le bundle.
|
||
|
|
||
|
if [ $# -ne 1 ]
|
||
|
then
|
||
|
echo "Syntax with Wekan version number:"
|
||
|
echo " ./maintainer-make-bundle-o.sh 5.10"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
![]()
3 years ago
|
sudo apt -y install g++ build-essential p7zip-full
|
||
|
sudo npm -g uninstall node-pre-gyp
|
||
|
sudo npm -g install @mapbox/node-pre-gyp
|
||
![]()
4 years ago
|
rm -rf bundle
|
||
![]()
3 years ago
|
rm wekan-$1-ppc64le.zip
|
||
![]()
4 years ago
|
#rm wekan-$1.zip
|
||
![]()
4 years ago
|
#wget https://releases.wekan.team/wekan-$1.zip
|
||
![]()
3 years ago
|
7z x wekan-$1.zip
|
||
|
|
||
|
(cd bundle/programs/server && chmod u+w *.json && cd node_modules/fibers && node build.js)
|
||
|
#cd ../../../..
|
||
|
|
||
|
cd bundle
|
||
![]()
4 years ago
|
find . -type d -name '*-garbage*' | xargs rm -rf
|
||
|
find . -name '*phantom*' | xargs rm -rf
|
||
|
find . -name '.*.swp' | xargs rm -f
|
||
|
find . -name '*.swp' | xargs rm -f
|
||
|
cd ..
|
||
![]()
3 years ago
|
|
||
|
(cd bundle/programs/server/npm/node_modules/meteor/accounts-password && npm remove bcrypt && npm install bcrypt)
|
||
|
|
||
|
7z a wekan-$1-ppc64le.zip bundle
|
||
![]()
3 years ago
|
|
||
|
sudo snap start juju-db
|
||
|
|
||
|
./start-wekan.sh
|