mirror of
https://github.com/wekan/wekan.git
synced 2026-03-02 03:40:16 +01:00
Added --trace-warnings to meteor dev.
Thanks to xet7 !
This commit is contained in:
parent
50ce0ce442
commit
3fb709ed70
2 changed files with 4 additions and 4 deletions
|
|
@ -110,14 +110,14 @@ do
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Run Meteor for dev on http://localhost:4000")
|
"Run Meteor for dev on http://localhost:4000")
|
||||||
WRITABLE_PATH=.. NODE_OPTIONS="--max_old_space_size=4096" 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="--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
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Run Meteor for dev on http://CURRENT-IP-ADDRESS:4000")
|
"Run Meteor for dev on http://CURRENT-IP-ADDRESS:4000")
|
||||||
IPADDRESS=$(ip a | grep 'noprefixroute' | grep 'inet ' | cut -d: -f2 | awk '{ print $2}' | cut -d '/' -f 1)
|
IPADDRESS=$(ip a | grep 'noprefixroute' | grep 'inet ' | cut -d: -f2 | awk '{ print $2}' | cut -d '/' -f 1)
|
||||||
echo "Your IP address is $IPADDRESS"
|
echo "Your IP address is $IPADDRESS"
|
||||||
WRITABLE_PATH=.. NODE_OPTIONS="--max_old_space_size=4096" 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="--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
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
@ -128,7 +128,7 @@ 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"
|
||||||
WRITABLE_PATH=.. NODE_OPTIONS="--max_old_space_size=4096" 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="--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
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -508,7 +508,7 @@
|
||||||
# Add more Node heap:
|
# Add more Node heap:
|
||||||
export NODE_OPTIONS="--max_old_space_size=4096"
|
export NODE_OPTIONS="--max_old_space_size=4096"
|
||||||
# Add more stack:
|
# Add more stack:
|
||||||
bash -c "ulimit -s 65500; exec node --stack-size=65500 --trace-warnings main.js"
|
bash -c "ulimit -s 65500; exec node --stack-size=65500 main.js"
|
||||||
#node main.js
|
#node main.js
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
# & >> ../../wekan.log
|
# & >> ../../wekan.log
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue