bootstrap/README.md
2018-10-19 21:07:24 -05:00

20 lines
817 B
Markdown

# Salt's Bootstrap Script
## Usage
Download and run the latest `replicate.sh`:
cd
git clone https://gitlab.com/rehashedsalt/bootstrap
./bootstrap/replicate.sh $HOME
In the event that you want to simply test `replicate.sh`, simply pass a different argument to it:
./bootstrap/replicate.sh -d /path/to/directory
See `replicate.sh -h` for more usage information.
## Notes
* 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.