mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
Added development option for using bundle visualizer.
Thanks to xet7 !
This commit is contained in:
parent
aa9a3886de
commit
7810e90524
1 changed files with 6 additions and 1 deletions
|
@ -14,7 +14,7 @@ function pause(){
|
|||
|
||||
echo
|
||||
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://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 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[@]}"
|
||||
do
|
||||
|
@ -118,6 +118,11 @@ do
|
|||
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
|
||||
break
|
||||
;;
|
||||
|
||||
"Run Meteor for dev on http://CURRENT-IP-ADDRESS:4000")
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
IPADDRESS=$(ifconfig | grep broadcast | grep 'inet ' | cut -d: -f2 | awk '{ print $2}' | cut -d '/' -f 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue