|
@@ -114,14 +114,24 @@ do
|
|
|
;;
|
|
|
|
|
|
"Run Meteor for dev on http://localhost:4000")
|
|
|
- #WRITABLE_PATH=.. NODE_OPTIONS="--max_old_space_size=4096 --trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000
|
|
|
- WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000
|
|
|
+ #Not in use, could increase RAM usage: NODE_OPTIONS="--max_old_space_size=4096"
|
|
|
+ #---------------------------------------------------------------------
|
|
|
+ # Logging of terminal output to console and to ../wekan-log.txt at end of this line: 2>&1 | tee ../wekan-log.txt
|
|
|
+ WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true \\
|
|
|
+ RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run \\
|
|
|
+ --exclude-archs web.browser.legacy,web.cordova --port 4000 2>&1 | tee ../wekan-log.txt
|
|
|
+ #---------------------------------------------------------------------
|
|
|
break
|
|
|
;;
|
|
|
|
|
|
"Run Meteor for dev on http://localhost:4000 with bundle visualizer")
|
|
|
- #WRITABLE_PATH=.. NODE_OPTIONS="--max_old_space_size=4096 --trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000 --extra-packages bundle-visualizer --production
|
|
|
- WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000 --extra-packages bundle-visualizer --production
|
|
|
+ #Not in use, could increase RAM usage: NODE_OPTIONS="--max_old_space_size=4096"
|
|
|
+ #---------------------------------------------------------------------
|
|
|
+ #Logging of terminal output to console and to ../wekan-log.txt at end of this line: 2>&1 | tee ../wekan-log.txt
|
|
|
+ WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true \\
|
|
|
+ RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run --exclude-archs \\
|
|
|
+ web.browser.legacy,web.cordova --port 4000 --extra-packages bundle-visualizer --production 2>&1 | tee ../wekan-log.txt
|
|
|
+ #---------------------------------------------------------------------
|
|
|
break
|
|
|
;;
|
|
|
|
|
@@ -132,8 +142,14 @@ do
|
|
|
IPADDRESS=$(ip a | grep 'noprefixroute' | grep 'inet ' | cut -d: -f2 | awk '{ print $2}' | cut -d '/' -f 1)
|
|
|
fi
|
|
|
echo "Your IP address is $IPADDRESS"
|
|
|
- #WRITABLE_PATH=.. NODE_OPTIONS="--max_old_space_size=4096 --trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000
|
|
|
- WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000
|
|
|
+ #---------------------------------------------------------------------
|
|
|
+ #Not in use, could increase RAM usage: NODE_OPTIONS="--max_old_space_size=4096"
|
|
|
+ #---------------------------------------------------------------------
|
|
|
+ #Logging of terminal output to console and to ../wekan-log.txt at end of this line: 2>&1 | tee ../wekan-log.txt
|
|
|
+ WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true \\
|
|
|
+ RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:4000 meteor run \\
|
|
|
+ --exclude-archs web.browser.legacy,web.cordova --port 4000 2>&1 | tee ../wekan-log.txt
|
|
|
+ #---------------------------------------------------------------------
|
|
|
break
|
|
|
;;
|
|
|
|
|
@@ -144,8 +160,14 @@ do
|
|
|
echo "On what port you would like to run Wekan?"
|
|
|
read PORT
|
|
|
echo "ROOT_URL=http://$IPADDRESS:$PORT"
|
|
|
- #WRITABLE_PATH=.. NODE_OPTIONS="--max_old_space_size=4096 --trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:$PORT meteor run --exclude-archs web.browser.legacy,web.cordova --port $PORT
|
|
|
- WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:$PORT meteor run --exclude-archs web.browser.legacy,web.cordova --port $PORT
|
|
|
+ #---------------------------------------------------------------------
|
|
|
+ #Not in use, could increase RAM usage: NODE_OPTIONS="--max_old_space_size=4096"
|
|
|
+ #---------------------------------------------------------------------
|
|
|
+ #Logging of terminal output to console and to ../wekan-log.txt at end of this line: 2>&1 | tee ../wekan-log.txt
|
|
|
+ WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true \\
|
|
|
+ RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:$PORT meteor run \\
|
|
|
+ --exclude-archs web.browser.legacy,web.cordova --port $PORT 2>&1 | tee ../wekan-log.txt
|
|
|
+ #---------------------------------------------------------------------
|
|
|
break
|
|
|
;;
|
|
|
|