1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-22 20:31:31 +03:00

[GD-11] Add a script for starting frontend

This commit is contained in:
Artyom 2017-05-04 15:34:18 +03:00
parent fe0e3946f5
commit 073c38ac0b
No known key found for this signature in database
GPG Key ID: B8E35A33FF522710

8
start.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
tmux new-session -d -s guide
tmux send-keys 'stack exec guide' 'C-m'
tmux split-window -h
tmux send-keys 'cd front && npm start' 'C-m'
tmux attach-session -t guide