forked from lewagon/data-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request lewagon#155 from lewagon/refacto-dotfiles
smoother dotfiles section
- Loading branch information
Showing
8 changed files
with
276 additions
and
70 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Open your terminal and run the following command: | ||
|
||
```bash | ||
export GITHUB_USERNAME=`gh api user | jq -r '.login'` | ||
echo $GITHUB_USERNAME | ||
``` | ||
|
||
You should see your GitHub username printed. If it's not the case, **stop here** and ask for help. | ||
There seems to be a problem with the previous step (`gh auth`). | ||
|
||
Time to fork the repo and clone it on your laptop: | ||
|
||
```bash | ||
mkdir -p ~/code/$GITHUB_USERNAME && cd $_ | ||
gh repo fork lewagon/dotfiles --clone | ||
``` | ||
|
||
Run the `dotfiles` installer. | ||
|
||
```bash | ||
cd ~/code/$GITHUB_USERNAME/dotfiles && zsh install.sh | ||
``` | ||
|
||
Check the emails registered with your GitHub Account. You'll need to pick one | ||
at the next step: | ||
|
||
```bash | ||
gh api user/emails | jq -r '.[].email' | ||
``` | ||
|
||
Run the git installer: | ||
|
||
```bash | ||
cd ~/code/$GITHUB_USERNAME/dotfiles && zsh git_setup.sh | ||
``` | ||
|
||
:point_up: This will **prompt** you for your name (`FirstName LastName`) and your email. Be careful | ||
you **need** to put one of the email listed above thanks to the previous `gh api ...` command. If you | ||
don't do that, Kitt won't be able to track your progress. | ||
|
||
Please now **quit** all your opened terminal windows. | ||
</details> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
OR | ||
|
||
<details> | ||
<summary> | ||
<strong>I already attended Web Development (FullStack) bootcamp at Le Wagon <em>but I have a new laptop</em></strong> | ||
</summary> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<details> | ||
<summary> | ||
<strong>I did not attend the Web Dev bootcamp at Le Wagon</strong> | ||
</summary> | ||
|
||
Hackers love to refine and polish their shell and tools. We'll start with a great default configuration provided by [Le Wagon](http://github.com/lewagon/dotfiles), stored on GitHub. As your configuration is personal, you need your own repository storing it, so you first need to fork it to your GitHub account. | ||
|
||
:arrow_right: [Click here to **fork**](https://github.com/lewagon/dotfiles/fork) the `lewagon/dotfiles` repository to your account (you'll need to click again on your picture to confirm _where_ you do the fork). | ||
|
||
Forking means that it will create a new repo in your GitHub account, identical to the original one. You'll have a new repository on your GitHub account, `your_github_username/dotfiles`. We need to fork because each of you will need to put specific information (e.g. your name) in those | ||
files. |
This file contains 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
Oops, something went wrong.