|
@@ -78,23 +78,23 @@ do
|
|
#fi
|
|
#fi
|
|
#cd ..
|
|
#cd ..
|
|
#sudo chown -R $(id -u):$(id -g) $HOME/.npm $HOME/.meteor
|
|
#sudo chown -R $(id -u):$(id -g) $HOME/.npm $HOME/.meteor
|
|
|
|
+ cd ~/repos/wekan
|
|
rm -rf node_modules .meteor/local .build
|
|
rm -rf node_modules .meteor/local .build
|
|
chmod u+w *.json
|
|
chmod u+w *.json
|
|
npm install
|
|
npm install
|
|
meteor build .build --directory
|
|
meteor build .build --directory
|
|
- rm -rf .build/bundle/programs/web.browser.legacy
|
|
|
|
- cd .build/bundle/programs/server
|
|
|
|
|
|
+ rm -rf ~/repos/wekan/.build/bundle/programs/web.browser.legacy
|
|
|
|
+ cd ~/repos/wekan/.build/bundle/programs/server
|
|
rm -rf node_modules
|
|
rm -rf node_modules
|
|
chmod u+w *.json
|
|
chmod u+w *.json
|
|
npm install
|
|
npm install
|
|
- cd ../../../..
|
|
|
|
# Cleanup
|
|
# Cleanup
|
|
- cd .build/bundle
|
|
|
|
|
|
+ cd ~/repos/wekan/.build/bundle
|
|
find . -type d -name '*-garbage*' | xargs rm -rf
|
|
find . -type d -name '*-garbage*' | xargs rm -rf
|
|
find . -name '*phantom*' | xargs rm -rf
|
|
find . -name '*phantom*' | xargs rm -rf
|
|
find . -name '.*.swp' | xargs rm -f
|
|
find . -name '.*.swp' | xargs rm -f
|
|
find . -name '*.swp' | xargs rm -f
|
|
find . -name '*.swp' | xargs rm -f
|
|
- cd ../..
|
|
|
|
|
|
+ cd ~/repos/wekan
|
|
# Add fibers multi arch
|
|
# Add fibers multi arch
|
|
#cd .build/bundle/programs/server/node_modules/fibers/bin
|
|
#cd .build/bundle/programs/server/node_modules/fibers/bin
|
|
#curl https://releases.wekan.team/fibers-multi.7z -o fibers-multi.7z
|
|
#curl https://releases.wekan.team/fibers-multi.7z -o fibers-multi.7z
|
|
@@ -124,13 +124,13 @@ do
|
|
echo "On what port you would like to run Wekan?"
|
|
echo "On what port you would like to run Wekan?"
|
|
read PORT
|
|
read PORT
|
|
echo "ROOT_URL=http://$IPADDRESS:$PORT"
|
|
echo "ROOT_URL=http://$IPADDRESS:$PORT"
|
|
- WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:$PORT meteor run --exclude-archs web.browser.legacy,web.cordova --port $PORT
|
|
|
|
|
|
+ WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:$PORT meteor run --exclude-archs web.browser.legacy,web.cordova --port $PORT
|
|
break
|
|
break
|
|
- ;;
|
|
|
|
|
|
+ ;;
|
|
|
|
|
|
"Quit")
|
|
"Quit")
|
|
break
|
|
break
|
|
- ;;
|
|
|
|
|
|
+ ;;
|
|
*) echo invalid option;;
|
|
*) echo invalid option;;
|
|
esac
|
|
esac
|
|
done
|
|
done
|