https://github.com/fizzed/provisioning
Scripts for setting up apps
https://github.com/fizzed/provisioning
Last synced: 8 months ago
JSON representation
Scripts for setting up apps
- Host: GitHub
- URL: https://github.com/fizzed/provisioning
- Owner: fizzed
- Created: 2016-03-15T19:01:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-10-04T01:17:55.000Z (9 months ago)
- Last Synced: 2025-10-04T01:19:02.994Z (9 months ago)
- Language: Java
- Homepage:
- Size: 11.6 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Provisioning Scripts
======================
Scripts for provisioning machines. Primarly used to provision vagrant instances,
but can be used with cloud images or traditional machines as well.
## Install Java (only works on linux)
```shell
curl -sfL https://raw.githubusercontent.com/fizzed/provisioning/master/linux/bootstrap-java.sh | sudo sh -s -- --version=17
```
## Install Maven (cross platform: e.g. Linux, MacOS, FreeBSD, etc)
```shell
curl -sfL https://raw.githubusercontent.com/fizzed/provisioning/master/scripts/install-maven.sh | sudo sh
```
## Install FastFetch (cross platform: e.g. Linux, MacOS, FreeBSD, etc)
NOTE: `sudo` needs to have `java` in its path (this script leverages blaze to help install the app)
```shell
curl -sfL https://raw.githubusercontent.com/fizzed/provisioning/master/scripts/install-fastfetch.sh | sudo sh
```
```powershell
sudo powershell -Command 'iwr "https://raw.githubusercontent.com/fizzed/provisioning/master/scripts/install-fastfetch.ps1" | iex'
```
Or if you need a specific version, such as for Ubuntu 20.04
```shell
curl -sfL https://raw.githubusercontent.com/fizzed/provisioning/master/scripts/install-fastfetch.sh | sudo sh -s -- --fastfetch.version 2.40.4
```
=======
## Install Shell Prompt w/ Git Branch
```shell
curl -sfL https://raw.githubusercontent.com/fizzed/provisioning/master/scripts/install-git-prompt.sh | sh
```
```powershell
powershell -Command 'iwr "https://raw.githubusercontent.com/fizzed/provisioning/master/scripts/install-git-prompt.ps1" | iex'
```
## Development
### Install Git Prompt
The shell prompt code is all in resources/ such as resources/git-prompt.bash
You can install the various prompts locally by running the following:
```
java -jar helpers/blaze.jar helpers/blaze.java install_git_prompt
```
Then you can activate the prompt by running the following:
```
# for bash
. ~/.bashrc
# for zsh
. ~/.zshrc
# for csh
source ~/.tcshrc
# for ksh
. ~/.kshrc
# for powershell
. $PROFILE
```