https://github.com/tomeraberbach/tcnj-deploy
⏫ A bash script for easily deploying a directory of website files to your personal TCNJ website at https://www.tcnj.edu/~username.
https://github.com/tomeraberbach/tcnj-deploy
bash bash-script command-line command-line-tool deploy-tool deployment deployment-automation script shell shell-script tcnj the-college-of-new-jersey web web-development website
Last synced: about 2 months ago
JSON representation
⏫ A bash script for easily deploying a directory of website files to your personal TCNJ website at https://www.tcnj.edu/~username.
- Host: GitHub
- URL: https://github.com/tomeraberbach/tcnj-deploy
- Owner: TomerAberbach
- License: mit
- Created: 2018-06-19T22:26:56.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2021-01-31T03:45:47.000Z (over 5 years ago)
- Last Synced: 2026-02-04T19:52:24.360Z (5 months ago)
- Topics: bash, bash-script, command-line, command-line-tool, deploy-tool, deployment, deployment-automation, script, shell, shell-script, tcnj, the-college-of-new-jersey, web, web-development, website
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# 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`):
```sh
$ sudo curl -o /usr/bin/tcnj-deploy https://raw.githubusercontent.com/TomerAberbach/tcnj-deploy/main/tcnj-deploy.sh
```
Otherwise download the [script](https://raw.githubusercontent.com/TomerAberbach/tcnj-deploy/main/tcnj-deploy.sh) and rename/move it to `/usr/bin`:
```sh
$ sudo mv tcnj-deploy.sh /usr/bin/tcnj-deploy
```
Lastly, make the file executable:
```sh
$ sudo chmod +x /usr/bin/tcnj-deploy
```
## Usage
```sh
$ tcnj-deploy
```
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:
```sh
$ sudo rm /usr/bin/tcnj-deploy
```
## License
[MIT](https://github.com/TomerAberbach/tcnj-deploy/blob/main/license) © [Tomer Aberbach](https://github.com/TomerAberbach)