fix: relative tmuxinator root and reduce wait time for client and server

This commit is contained in:
minhtrannhat 2023-11-30 14:34:47 -05:00
parent 1eb4e072ca
commit d9a093d569
Signed by: minhtrannhat
GPG Key ID: E13CFA85C53F8062
2 changed files with 10 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# ./.tmuxinator.yml
name: coen366
root: ~/Desktop/University/Fall2023_Classes/COEN366/project
root: .
# Optional tmux socket
# socket_name: foo
@ -46,14 +46,14 @@ root: ~/Desktop/University/Fall2023_Classes/COEN366/project
windows:
- editor:
root: ~/Desktop/University/Fall2023_Classes/COEN366/project
root: .
layout: main-vertical
panes:
- lvim
- test:
layout: main-vertical
root: ~/Desktop/University/Fall2023_Classes/COEN366/project
root: .
panes:
- make build
- sleep 15 && make client
- sleep 15 && make server
- sleep 7 && make client
- sleep 7 && make server

View File

@ -35,3 +35,8 @@ You can run `python3 src/myftp/server.py --directory <insert valid directory tha
- Run the client with `make client` in a terminal.
- For the client, when asked to put in the ip address and port number of the server, you can put in `ftp_server 12000` or adjust to your chosen port number. The IP address is resolved by Docker so ftp_server can not be changed.
- Tear down everything with `make clean`.
#### Fast setup
- Require `tmuxinator` and `tmux`.
- Type `tmuxinator start .` at the root of this repo.