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
|
|
|
|
|
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
|
2019-04-20 17:04:59 +03:00
|
|
|
rm -rf node_modules
|
|
|
|
|
meteor npm install
|
2019-07-17 16:13:53 +03:00
|
|
|
cd ../../../..
|