wekan/releases/rebuild-release.sh

18 lines
628 B
Bash
Raw Normal View History

2018-11-04 18:32:08 +02:00
#!/bin/bash
2019-07-17 16:13:53 +03:00
echo "Note: If you use other locale than en_US.UTF-8 , you need to additionally install en_US.UTF-8"
echo " with 'sudo dpkg-reconfigure locales' , so that MongoDB works correctly."
echo " You can still use any other locale as your main locale."
echo "Building Wekan."
2019-07-17 16:13:53 +03:00
sudo chown -R $(id -u):$(id -g) $HOME/.npm $HOME/.meteor
rm -rf node_modules
meteor npm install
rm -rf .build
meteor build .build --directory
cp -f fix-download-unicode/cfs_access-point.txt .build/bundle/programs/server/packages/cfs_access-point.js
2019-07-17 16:13:53 +03:00
cd .build/bundle/programs/server
rm -rf node_modules
meteor npm install
2019-07-17 16:13:53 +03:00
cd ../../../..