Skip to content

⏫ A bash script for easily deploying a directory of website files to your personal TCNJ website at https://www.tcnj.edu/~username.

License

Notifications You must be signed in to change notification settings

TomerAberbach/tcnj-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

TCNJ Deploy

A bash script for easily deploying a directory of website files to your personal TCNJ website at https://www.tcnj.edu/~username.

Install

If you have curl installed (or can install it by running sudo apt install curl):

$ sudo curl -o /usr/bin/tcnj-deploy https://raw.githubusercontent.com/TomerAberbach/tcnj-deploy/main/tcnj-deploy.sh

Otherwise download the script and rename/move it to /usr/bin:

$ sudo mv tcnj-deploy.sh /usr/bin/tcnj-deploy

Lastly, make the file executable:

$ sudo chmod +x /usr/bin/tcnj-deploy

Usage

$ tcnj-deploy <directory>

Your ~/www directory is cleared prior to copying your files so use with caution!

The proper permissions are set on your copied files for you.

Uninstall

Simply remove the the script file:

$ sudo rm /usr/bin/tcnj-deploy

License

MIT © Tomer Aberbach