rebuild-release.sh 709 B

123456789101112131415161718
  1. #!/bin/bash
  2. echo "Note: If you use other locale than en_US.UTF-8 , you need to additionally install en_US.UTF-8"
  3. echo " with 'sudo dpkg-reconfigure locales' , so that MongoDB works correctly."
  4. echo " You can still use any other locale as your main locale."
  5. echo "Building Wekan."
  6. sudo chown -R $(id -u):$(id -g) $HOME/.npm $HOME/.meteor
  7. rm -rf node_modules
  8. meteor npm install
  9. rm -rf .build
  10. METEOR_PROFILE=100 meteor build .build --directory --platforms=web.browser
  11. # Remove legacy webbroser bundle, so that Wekan works also at Android Firefox, iOS Safari, etc.
  12. rm -rf .build/bundle/programs/web.browser.legacy
  13. cd .build/bundle/programs/server
  14. rm -rf node_modules
  15. meteor npm install
  16. cd ../../../..