wekan/releases/rebuild-release.sh

19 lines
685 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
2020-03-15 00:44:03 +02:00
METEOR_PROFILE=100 meteor build .build --directory
# Remove legacy webbroser bundle, so that Wekan works also at Android Firefox, iOS Safari, etc.
rm -rf .build/bundle/programs/web.browser.legacy
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 ../../../..