mahmoudimus / dotfiles

The best damn dot files repository ever.
http://blog.mahmoudimus.com/
7 stars 2 forks source link
            .___      __    _____.__.__
          __| _/_____/  |__/ ____\__|  |   ____   ______
         / __ |/  _ \   __\   __\|  |  | _/ __ \ /  ___/
        / /_/ (  <_> )  |  |  |  |  |  |_\  ___/ \___ \
   _____\____ |\____/|__|  |__|  |__|____/\___  >____  >_____
  /_____/    \/                               \/     \/_____/

dotfiles

My attempt at a reproducible workstation environment for my computers, mostly on a OSX.

Install

  1. Install Dropbox
  2. Configure Dropbox. Sync only the folder called: Mackup, which stores the various encrypted secrets. (See TODO).
  3. Run:
git clone --recursive https://github.com/mahmoudimus/dotfiles.git ~/dotfiles
cd ~/dotfiles
git submodule update --init --recursive

NOTE: The ~/dotfiles is hardcoded as the dotfiles repository path in this project. Let me know if this is a problem.

Bootstraping

To bootstrap a workstation, execute setup.sh which will install Ansible on the system, alongside all the below requirements.

If you're on OSX, setup.sh will also install xcode and the xcode command-line utilities.

Requirements

These requirements will be installed by themselves.

Ansible Playbook?

Yes. This is an OS-aware ansible playbook composed of roles that install the applications required for setting up the workstation.

Here's how to run this ansible playbook:

ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook  -i 127.0.0.1, -vvvv -b --become-method=sudo -K --connection=local setup.yml

After you're done, run mackup restore. Done :-)

References

Github

Similar Projects (?)

Blogs

TODO

Bugs