fix: relative tmuxinator root and reduce wait time for client and server
This commit is contained in:
parent
1eb4e072ca
commit
d9a093d569
@ -1,7 +1,7 @@
|
|||||||
# ./.tmuxinator.yml
|
# ./.tmuxinator.yml
|
||||||
|
|
||||||
name: coen366
|
name: coen366
|
||||||
root: ~/Desktop/University/Fall2023_Classes/COEN366/project
|
root: .
|
||||||
|
|
||||||
# Optional tmux socket
|
# Optional tmux socket
|
||||||
# socket_name: foo
|
# socket_name: foo
|
||||||
@ -46,14 +46,14 @@ root: ~/Desktop/University/Fall2023_Classes/COEN366/project
|
|||||||
|
|
||||||
windows:
|
windows:
|
||||||
- editor:
|
- editor:
|
||||||
root: ~/Desktop/University/Fall2023_Classes/COEN366/project
|
root: .
|
||||||
layout: main-vertical
|
layout: main-vertical
|
||||||
panes:
|
panes:
|
||||||
- lvim
|
- lvim
|
||||||
- test:
|
- test:
|
||||||
layout: main-vertical
|
layout: main-vertical
|
||||||
root: ~/Desktop/University/Fall2023_Classes/COEN366/project
|
root: .
|
||||||
panes:
|
panes:
|
||||||
- make build
|
- make build
|
||||||
- sleep 15 && make client
|
- sleep 7 && make client
|
||||||
- sleep 15 && make server
|
- sleep 7 && make server
|
||||||
|
@ -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.
|
- 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.
|
- 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`.
|
- Tear down everything with `make clean`.
|
||||||
|
|
||||||
|
#### Fast setup
|
||||||
|
|
||||||
|
- Require `tmuxinator` and `tmux`.
|
||||||
|
- Type `tmuxinator start .` at the root of this repo.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user