Skip to content
Snippets Groups Projects
Commit ac100af8 authored by yuichitamiya's avatar yuichitamiya
Browse files

fix error and add note in inst week1

parent 112f2aff
No related branches found
No related tags found
No related merge requests found
Pipeline #269362 passed
...@@ -87,11 +87,13 @@ Tue|?|Regional Review(Asia)|?|| ...@@ -87,11 +87,13 @@ Tue|?|Regional Review(Asia)|?||
### Install (macOS) ### Install (macOS)
``` ```
% git -version % git --version
git version 2.24.3 (Apple Git-128) git version 2.24.3 (Apple Git-128)
% brew -v % brew --version
Homebrew 3.3.9 Homebrew 3.3.9
//% brew -v
// If no git and homebrew // If no git and homebrew
// Install Homebrew from https://brew.sh/ // Install Homebrew from https://brew.sh/
...@@ -131,7 +133,7 @@ id_rsa id_rsa.pub ...@@ -131,7 +133,7 @@ id_rsa id_rsa.pub
% ssh-keygen % ssh-keygen
Generating public/private rsa key pair. Generating public/private rsa key pair.
Enter file in which to save the key (/Users/yuichi/.ssh/id_rsa): Enter file in which to save the key (/Users/yuichi/.ssh/id_rsa):
// syntax % ssh-keygen -t rsa -f keyname -C "comment" // syntax % ssh-keygen -t rsa -f id_rsa -C "comment"
% cd ~ % cd ~
...@@ -145,8 +147,22 @@ ssh-rsa AAA....this_is_your_public_key....@.local ...@@ -145,8 +147,22 @@ ssh-rsa AAA....this_is_your_public_key....@.local
``` ```
GitLab > your icon(right up) > Edit profile > SSH Keys(left) > command + v to paste public key GitLab > your icon(right up) > Edit profile > SSH Keys(left) > command + v to paste public key
!!! notes
If you want to make more secured ED25519 format key pair
% cd ~/.ssh
% ssh-keygen -t ed25519 -C "your@email"
% ls
id_ed25519 id_ed25519.pub
Ref. https://docs.gitlab.com/ee/ssh/index.html
### Local repository ### Local repository
``` ```
% ssh -T git@gitlab.fabcloud.org
Welcome to GitLab, @your_name!
% cd ~ % cd ~
% mkdir repos % mkdir repos
% cd repos % cd repos
...@@ -191,6 +207,14 @@ Control +C ...@@ -191,6 +207,14 @@ Control +C
Open in Browser Open in Browser
[http://127.0.0.1:8000](http://127.0.0.1:8000) [http://127.0.0.1:8000](http://127.0.0.1:8000)
!!! notes
You may need to install mkdocs separately
% brew install mkdocs
% pip install -r requirements.txt
### Editter ### Editter
#### ATOM #### ATOM
...@@ -211,7 +235,7 @@ Open in Browser ...@@ -211,7 +235,7 @@ Open in Browser
// save // save
% cd ~/repos/student_site % cd ~/repos/student_site
% ls -ls % ls -la
.git .git
% git status % git status
% git add . % git add .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment