Running this bash script creates a tmux session in the current working directory with 5 named windows as a starting point for fullstack projects.
TMUX WINDOWS:
- [0] backend server
- [1] frontend server
- [2] backend code
- [3] frontend code
- [4] bash
- Clone this repo to your local machine
- ON LINUX: move or copy bash script file to /usr/local/bin folder (or wherever binary executables are stored in your file system)
- Change permissions for the file with:
chmod u+x fullstack_tmux_session.sh - Change ownership of file with
chown [your user name] fullstack_tmux_session.sh - RECOMMENDED: rename file without the .sh extension
- Navigate to the directory you want your tmux session in
- Type
fullstack_tmux_session(or whatever you renamed the bash script file)
tmux will attach to the session and you're all set!