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."
|
|
|
|
|
2019-04-20 17:04:59 +03:00
|
|
|
echo "Building Wekan."
|
2019-07-17 16:13:53 +03:00
|
|
|
sudo chown -R $(id -u):$(id -g) $HOME/.npm $HOME/.meteor
|
2019-04-20 17:04:59 +03:00
|
|
|
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
|
2020-04-25 03:47:44 +03:00
|
|
|
# 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
|
2019-04-20 17:04:59 +03:00
|
|
|
rm -rf node_modules
|
|
|
|
meteor npm install
|
2019-07-17 16:13:53 +03:00
|
|
|
cd ../../../..
|