With these files and scripts we have configured the development machines we are using in the FullStack Javascript developer course
All your computers has been preconfigured by running the bootstrapping scripts as described below.
- Open the Terminal
- Go to the root folder =>
cd ~
, if you are not there already - Install Oh My Zsh =>
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
The above command will trigger installation of xCode developer tools. Agree to the installation. Once the installation is done, rerun the oh-my-zsh installation above.
- Clone this repo into the
.dotfiles
-directory - Go into the directory =>
cd .dotfiles
- Run the bootstrapping script =>
bash script/bootstrap
- Stay around for a few minutes, because there will be some questions early in the process
- After the whole thing starts to crunch away - go get a coffee and read a book. There's a lot to download. Takes about 35 minutes for the first install
- When everything is done: restart you computer or at least the terminal
Things change. Often and fast. Every so often you would like to run the dot
command that ensures that everything is up to date. I do this bi-weekly.
Sometimes I feel the need to clean up the cache that Homebrew is using and then there's a handy script (cleanupHomeBrew.sh
) that does just that. Run it bi-monthly with bash script/cleanupHomeBrew.sh
.
Stole this part from an excellent description here
Everything's built around topic areas. If you're adding a new area to your forked dotfiles — say, "Java" — you can simply add a java directory and put files in there. Anything with an extension of .zsh will get automatically included into your shell. Anything with an extension of .symlink will get symlinked without extension into $HOME when you run script/bootstrap.
A lot of stuff. Seriously, a lot of stuff. Check them out in the file browser above and see what components may mesh up with you. Fork it, remove what you don't use, and build on what you do use.
There's a few special files in the hierarchy.
bin/
: Anything in bin/ will get added to your$PATH
and be made available everywhere.topic/*.zsh
: Any files ending in.zsh
get loaded into your environment.topic/path.zsh
: Any file named path.zsh is loaded first and is expected to setup $PATH or similar.topic/completion.zsh
: Any file named completion.zsh is loaded last and is expected to setup autocomplete.topic/*.symlink
: Any files ending in*.symlink
get symlinked into your$HOME
. This is so you can keep all of those versioned in your dotfiles but still keep those autoloaded files in your home directory. These get symlinked in when you runscript/bootstrap
.