Local Dev Environment Setup
👋 Welcome! We’re excited for you to get the site running on your computer!
This session must be run with a member of the DevOps team present the whole time. You will suffer from last-minute unexpected failures they are best equipped to deal with.
Notes Before Onboarding
There are a lot of commands and terms here. Setup can be daunting if you haven’t done it before. It’s not just you! *Please ask for help when these get confusing!***
See also Troubleshooting for common issues.
Bootstrap Your Laptop
Protip: This should be run prior to the onboarding session. It takes ~10-15 minutes with very little user interaction.
Follow the instructions in https://github.com/Lyft-engineering/bootstrap:
git clone https://github.com/Lyft-engineering/bootstrap.git cd bootstrap ./bootstrap.sh | tee -a bootstrap.log
With Docker installed, go to Docker Preferences → Resources → and increase RAM to 4GB.
Check with an engineer to make sure you’ve been added to both:
- Our private Lyft Engineering organization, on the Employees team and your team.
- Our public Lyft organization, on the Employees team.
Admins that can make this happen include Jake (@jake), Josh (@josh), Timor (@timor), and engineering managers in general.
Add Your SSH Key to GitHub
Bootstrap should have created the
~/.ssh/id_rsa.pub file; if not, see the GitHub docs.
Login to **GitHub > Settings > SSH and GPG Keys** and select New SSH Key
Copy your public key:pbcopy < ~/.ssh/id_rsa.pub
Paste the contents of the public key into the key field and provide a unique title such as “Lyft MacBook”.
Select Add SSH Key.
Click the Enable SSO button on the newly added SSH key and authorize Lyft-Engineering.
git config --global user.email <your lyft email>