2018-08-24 17:34:12 -05:00
|
|
|
# Salt's Bootstrap Script
|
2018-12-25 21:46:28 -06:00
|
|
|
|
2018-08-24 17:34:12 -05:00
|
|
|
## Usage
|
|
|
|
|
2018-12-25 21:46:28 -06:00
|
|
|
### Dotfiles
|
|
|
|
|
|
|
|
Download and run the latest `build-home.sh`:
|
2018-08-24 17:34:12 -05:00
|
|
|
|
|
|
|
cd
|
2020-04-30 13:39:53 -05:00
|
|
|
git clone https://git.9iron.club/salt/bootstrap
|
2018-12-25 21:46:28 -06:00
|
|
|
./bootstrap/build-home.sh $HOME
|
2018-10-19 21:01:30 -05:00
|
|
|
|
2018-12-25 21:46:28 -06:00
|
|
|
In the event that you want to simply test `build-home.sh`, simply pass a different argument to it:
|
2018-10-19 21:01:30 -05:00
|
|
|
|
2018-12-25 21:46:28 -06:00
|
|
|
./bootstrap/build-home.sh -d /path/to/directory
|
2018-10-19 21:07:24 -05:00
|
|
|
|
2018-12-25 21:46:28 -06:00
|
|
|
See `build-home.sh -h` for more usage information.
|
2018-08-24 17:34:12 -05:00
|
|
|
|
|
|
|
## Notes
|
2018-10-19 21:07:24 -05:00
|
|
|
* By default, the current working directory will be bootstrapped. Passing `-d` and a different path will cause a different path to be bootstrapped.
|
|
|
|
* By default, the repository will be cloned over SSH. Either generate some keys and add them to GitLab or change the repository URI to HTTP.
|
2018-08-24 17:50:58 -05:00
|
|
|
* Ideally, this will be called via Ansible or some other automation tool. It may, in the future, contain specific code for this purpose.
|