Hacker Machine Provisioning
Store your confiuration files and deploy them with ease on your machine, or others, thanks to Ansible. Handy to manage at scale® the setup of developer's machines or to properly organize and customize your own setup.
# check ansible is correctly configured for local provisioning (make check)
ansible all -m ping -i hosts
# provision your local machine
ansible-playbook -i hosts site.yml --ask-sudo-pass
# limit provisioning to tags
ansible-playbook -i hosts site.yml --tags editor
If you are using a Mac, you need first to install Xcode developer tools
(running git
for example will prompt you to do so) or the script will
abort to ask you to do that (and you will need to run it again, which is
not a big deal, granted).
# you can personalize installation
DOTFILES_TMP_WORKSPACE="./dotfiles"
DOTFILES_VCS_BRANCH="feat/upgrade"
curl https://raw.githubusercontent.com/xav-b/dotfiles/${DOTFILES_VCS_BRANCH}/bootstrap.sh | bash
You should now have Ansible installed and the repository
downloaded in ./dotfiles
.
Go there and edit to your taste ./vars/*.yml
.
Then, suit-up your machine :
TAGS="shell,tools" make
- Python
# tested under pyenv 1.2.9
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v 3.5.6
pyenv virtualenv 3.5.6 dotfiles
pyenv activate dotfiles
python --version
# Python 3.5.6
pip --version
# pip 9.0.1 from /Users/...
App deployment, configuration management and orchestration - all from one system.
A magical documentation site generator. Simple and lightweight (~19kB gzipped) No statically built html files Multiple themes
Just run make
to install them.
- Unable python 3 support for neovim:
pip3 install --user pynvim
(to run afterpyenv global 3.*
) - Install: tmuxp plugins:
Press prefix + I (capital i, as in Install) to fetch the plugin
- tmux looks ugly
thefuck
is not installed nor configured (eval $(thefuck --alias)
)- global pip package missing: neovim, thefuck
trash-cli
is not installed
Hey nice to meet you, I'm Xavier and I maintain this project.