bootstrap/README.md

23 lines
837 B
Markdown
Raw Normal View History

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
2018-10-19 21:01:30 -05:00
git clone https://gitlab.com/rehashedsalt/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.
* Ideally, this will be called via Ansible or some other automation tool. It may, in the future, contain specific code for this purpose.