commit b14a4ccfec47fd50ac4d91553e61404748e42639 parent 14ceb500576cf3bbcc939ccae19337683753b1e3 Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe> Date: Fri, 4 Feb 2022 20:44:51 -0500 Updated home/.bin/imca Diffstat:
| M | home/.bin/imca | | | 9 | ++++++--- |
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/home/.bin/imca b/home/.bin/imca @@ -10,8 +10,8 @@ tmux send-keys -t imca:0.0 'vim -S ~/.vim/session/imca.vim' C-m tmux send-keys -t imca:0.1 'source venv/bin/activate' C-m tmux send-keys -t imca:0.1 'export FLASK_ENV=development' C-m tmux send-keys -t imca:0.1 'export FLASK_APP=flask_imca' C-m -command -v firefox-developer-edition >/dev/null 2>&1 && tmux send-keys -t imca:0.1 'sleep 3s && firefox-developer-edition 127.0.0.1:5000 &' C-m || -command -v firefox >/dev/null 2>&1 && tmux send-keys -t imca:0.1 'sleep 3s && firefox 127.0.0.1:5000 &' C-m +command -v firefox-developer-edition >/dev/null 2>&1 && tmux send-keys -t imca:0.1 'sleep 6s && firefox-developer-edition 127.0.0.1:5000 &' C-m || +command -v firefox >/dev/null 2>&1 && tmux send-keys -t imca:0.1 'sleep 6s && firefox 127.0.0.1:5000 &' C-m tmux send-keys -t imca:0.1 'flask run --host 0.0.0.0' C-m tmux send-keys -t imca:0.2 'source venv/bin/activate' C-m @@ -22,11 +22,14 @@ tmux send-keys -t imca:0.2 'flask webpack install' C-m tmux send-keys -t imca:0.2 'flask webpack run watch &' C-m tmux send-keys -t imca:0.2 'find src/flask_imca/webpack | entr -s "rm -rf src/instance/assets/src/* && flask webpack create"' C-m -tmux new-window -c ~/Development/flask_imca +tmux new-window -c ~/Development/flask_imca -n venv tmux send-keys -t imca:1.0 'source venv/bin/activate' C-m tmux send-keys -t imca:1.0 'export FLASK_ENV=development' C-m tmux send-keys -t imca:1.0 'export FLASK_APP=flask_imca' C-m +tmux new-window -c ~/Development/flask_imca/src/instance -n instance + + tmux select-window -t imca:0 tmux select-pane -t imca:0.0 tmux attach -t imca