An open API service indexing awesome lists of open source software.

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.

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)