Created
November 23, 2022 13:14
-
-
Save alexjustesen/1a235c7182a765b3072209af5dee9108 to your computer and use it in GitHub Desktop.
Setup WSL/Ubuntu/Docker for Laravel development
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # isntall wsl + ubuntu from the windows app store | |
| # setup ubuntu with a username, password and update existing dependencies | |
| sudo apt update && sudo apt upgrade -y | |
| # install additional ubuntu dependencies | |
| sudo apt install apt-transport-https zip unzip | |
| # install docker desktop and enable for wsl | |
| # reboot | |
| # github cli | |
| # https://github.com/cli/cli/blob/trunk/docs/install_linux.md#debian-ubuntu-linux-raspberry-pi-os-apt | |
| # git name and email | |
| git config --global user.name "put your name here" | |
| git config --global user.email "put your github noreply email here" | |
| # make a coding area | |
| cd ~/ | |
| mkdir code | |
| # setup sail bash alias | |
| sudo nano ~/.bash_aliases | |
| # add the following alias command to the file | |
| alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment