We provide these dotfiles as a way for engineers (or anyone, really) to get up and running quickly at Oneflare.
They provide the necessary software and sane defaults for working with the various Oneflare codebases.
The idea is that they should get better over time and you should be able to customise them to your liking.
So hit that fork button and get coding!
- You need to have
gitinstall on your machine. For MacOS:
xcode-select --install-
Ensure you haven't installed any additional programs, e.g. Google Chrome.
This will interfere with the setup script and cause it to fail.
git clone https://github.com/Oneflare/dotfiles.git ~/dotfiles
cd ~/dotfiles
./installOnce the script has completed successfully, quit Terminal and open iTerm
-
iTerm
- P10k will prompt you for setup, press
qto ignore for now - Go to Preferences -> Profiles -> Text
- Select "FuraCode Nerd Font Mono" and "Use Ligatures"
- Go to Colors tab and select a Theme
- Many more Themes available here
- Quit iTerm and reopen to run through P10k customisation
- We don't need the suggested font, so decline installation
- P10k will prompt you for setup, press
-
Git
- Run the following, replacing values with your own:
It is recommended to use your GitHub-provided
noreplyaddress: Setting your commit email addressgit config --global user.name "Your Name" git config --global user.email "you@example.com"
- For extra credit, setup GPG signing for your commits:
git config --global commit.gpgsign true git config --global gpg.program "gpg"
-
SSH
- Either restore your ssh key or generate a new key
Secret data should be stored in custom/secret.zsh
For example:
export SOME_TOKEN=abcdef123456
This file is ignored so it isn't accidentally committed with sensitive information.