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.

pull/1/head
Stanislaw Adaszewski 4 роки тому
джерело
коміт
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

Завантаження…
Відмінити
Зберегти