Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kannai site
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Academany
Fab Academy
2022
Fab Academy 2022 Labs
Kannai
Kannai site
Commits
ac100af8
Commit
ac100af8
authored
3 years ago
by
yuichitamiya
Browse files
Options
Downloads
Patches
Plain Diff
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
3 years ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/Instruction/week01.md
+28
-4
28 additions, 4 deletions
docs/Instruction/week01.md
with
28 additions
and
4 deletions
docs/Instruction/week01.md
+
28
−
4
View file @
ac100af8
...
@@ -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 -l
s
% ls -l
a
.git
.git
% git status
% git status
% git add .
% git add .
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment