IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
ソースを参照

Added a tmux script.

master
コミット
eebcec1f50
1個のファイルの変更23行の追加0行の削除
  1. +23
    -0
      frontend/tmux.sh

+ 23
- 0
frontend/tmux.sh ファイルの表示

@@ -0,0 +1,23 @@
#!/bin/sh

set -e

function panetitle () {
printf "\033]2;%s\033\\" "$1";
}

export -f panetitle

export TERM=putty

source ${HOME}/workspace/ml/ml tmux-2.7.0

tmux new-session -x 2000 -y 1200 -d "ml python2; cd ${HOME}/workspace/arvados-workbench-advanced/frontend/dist; panetitle https_server; /bin/bash --init-file <(echo \"python2 ../../backend/srv.py\")"

tmux split-window -v "source ${HOME}/workspace/ml/ml nodejs-8.11.3; cd ${HOME}/workspace/arvados-workbench-advanced/frontend; panetitle npm_run_watch; /bin/bash --init-file <(echo \"npm run watch\")"

tmux split-window -v "cd ${HOME}/workspace/arvados-workbench-advanced; panetitle project; /bin/bash"

tmux select-layout even-vertical

tmux attach

読み込み中…
キャンセル
保存