mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Added trace warnings options.
Thanks to xet7 !
This commit is contained in:
parent
6fb9529518
commit
0bd9f309a1
1 changed files with 16 additions and 5 deletions
|
@ -1,10 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
echo "Recommended for development: Ubuntu 22.04 amd64 Jammy Jellyfish daily iso, directly to SSD disk or dual boot, not VM. Works fast."
|
echo "Recommended for development: Newest Ubuntu or Debian amd64, directly to SSD disk or dual boot, not VM. Works fast."
|
||||||
echo "Note: If you use other locale than en_US.UTF-8 , you need to additionally install en_US.UTF-8"
|
echo "Note1: 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 " with 'sudo dpkg-reconfigure locales' , so that MongoDB works correctly."
|
||||||
echo " You can still use any other locale as your main locale."
|
echo " You can still use any other locale as your main locale."
|
||||||
|
echo "Note2: Console output is also logged to ../wekan-log.txt"
|
||||||
|
|
||||||
#Below script installs newest node 8.x for Debian/Ubuntu/Mint.
|
#Below script installs newest node 8.x for Debian/Ubuntu/Mint.
|
||||||
|
|
||||||
|
@ -14,7 +15,7 @@ function pause(){
|
||||||
|
|
||||||
echo
|
echo
|
||||||
PS3='Please enter your choice: '
|
PS3='Please enter your choice: '
|
||||||
options=("Install Wekan dependencies" "Build Wekan" "Run Meteor for dev on http://localhost:4000" "Run Meteor for dev on http://localhost:4000 with bundle visualizer" "Run Meteor for dev on http://CURRENT-IP-ADDRESS:4000" "Run Meteor for dev on http://CUSTOM-IP-ADDRESS:PORT" "Quit")
|
options=("Install Wekan dependencies" "Build Wekan" "Run Meteor for dev on http://localhost:4000" "Run Meteor for dev on http://localhost:4000 with trace warnings, and warnings using old Meteor API that will not exist in Meteor 3.0" "Run Meteor for dev on http://localhost:4000 with bundle visualizer" "Run Meteor for dev on http://CURRENT-IP-ADDRESS:4000" "Run Meteor for dev on http://CUSTOM-IP-ADDRESS:PORT" "Quit")
|
||||||
|
|
||||||
select opt in "${options[@]}"
|
select opt in "${options[@]}"
|
||||||
do
|
do
|
||||||
|
@ -123,6 +124,16 @@ do
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
||||||
|
"Run Meteor for dev on http://localhost:4000 with trace warnings, and warnings using old Meteor API that will not exist in Meteor 3.0")
|
||||||
|
#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 NODE_OPTIONS="--trace-warnings" WRITABLE_PATH=.. 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")
|
"Run Meteor for dev on http://localhost:4000 with bundle visualizer")
|
||||||
#Not in use, could increase RAM usage: NODE_OPTIONS="--max_old_space_size=4096"
|
#Not in use, could increase RAM usage: NODE_OPTIONS="--max_old_space_size=4096"
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue