@@ -8,7 +8,7 @@ tags: [website, github] # TAG names should always be lowercase
88How to setup static website and host it in Gitub. This guide is hosted with this mehtod.
99
1010This guide is heavily plagiarized from [ Techno Tim: Meet Jekyll - The Static Site Generator] ( https://technotim.live/posts/jekyll-docs-site/ )
11- I used this guide to learn mysel but as I ran into quite a few issues that was not mentioned in the guide, so I desided to create my own.
11+ I used this guide to learn mysel but as I ran into quite a few issues that was not mentioned in the guide, I desided to create my own.
1212
1313<br />
1414
@@ -26,33 +26,38 @@ There's a couple of things that will be needed
2626
2727<br />
2828
29- ## Widnows
29+ ## Setup on Widnows
3030
31- ## Setup Terminal
31+ ### Install Terminal
3232
3333Install window terminal from < https://learn.microsoft.com/en-us/windows/terminal/install >
3434Launch Terminal (screenshot of terminal here)
3535
36- ### install WSL (The Windows Subsystem for Linux)
36+ <br />
37+
38+ ### install [ WSL] ( https://learn.microsoft.com/en-us/windows/wsl/install ) (The Windows Subsystem for Linux)
3739
3840Open a Powershell tab in terminal and run below command to install [ WSL] ( https://learn.microsoft.com/en-us/windows/wsl/install )
3941
4042``` powershell
4143wsl --install
4244```
4345
44- ### install ZSH (Oh My Zsh!)
46+ < br />
4547
46- open a new tab with ubuntu, you can also set it as default in terminal
48+ ### install [ ZSH] ( https://ohmyz.sh/#install ) (Oh My Zsh!)
49+
50+ Open a new tab with ubuntu in Terminal
4751
48- [ Oh My Zsh] ( https://ohmyz.sh/#install )
4952
5053``` bash
5154sh -c " $( curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh) "
5255```
5356
54- ## Install Dependencies
57+ < br />
5558
59+ ### Install Dependencies
60+ Update system and and install Ruby
5661``` bash
5762sudo apt update
5863sudo apt install ruby-full build-essential zlib1g-dev git
@@ -74,6 +79,8 @@ gem install jekyll bundler
7479
7580```
7681
82+ <br />
83+
7784## Creating a site based on Chirpy Starter
7885
7986Visit < https://github.com/cotes2020/jekyll-theme-chirpy#quick-start >
@@ -91,34 +98,39 @@ cd <YOUR-REPO-NAME>
9198bundle
9299```
93100
94- ## Github
101+ < br />
95102
96- Set an email address in Git. You can use your GitHub-provided noreply email address or any email address.
103+ ## Configure Git
97104
105+ Set an email address in Git. You can use your GitHub-provided noreply email address or any email address.
98106
99107Configure Git
100108You’ll want to follow this guide for configuring git.Be sure to follow the LINUX version
101109https://docs.github.com/en/github/using-git/getting-started-with-git-and-github
102110
103- Set usename that Git will use
111+ ### Set usename i Git
104112``` bash
105- git config --global user.name " Techno Tim "
113+ git config --global user.name " Lincken "
106114```
107115Use the command again without your name to check that it's correct
108116
109117``` bash
110118git config --global user.name
111119```
112- Output should be your username
120+ Output should be your username like it does below
113121
122+ ``` bash
123+ git config --global user.name
124+ Lincken
125+ ```
114126<br />
115127
116- Next do the same with your email
128+ #### Set email in Git
117129
118130``` bash
119131git config --global user.email " your_email@example.com"
120132```
121- Again, use the same command without your email to check that git is configured to use your email
133+ Use the same command without your email to check that git is configured to use your email
122134
123135``` bash
124136git config --global user.email
@@ -127,6 +139,10 @@ git config --global user.email
127139<br />
128140<br />
129141
142+ ### Create SSH key
143+
144+ Now we can generate a ssh key that we can use to access Github
145+
130146``` bash
131147ssh-keygen -t rsa -b 4096 -C " your_email@example.com"
132148```
@@ -214,3 +230,11 @@ bundle install
214230
215231> TEST TEST TEST ` _tabs/about.md ` {: .filepath } and it will show up on this page.
216232 {: .prompt-tip }
233+
234+ GoodToKnow
235+ Write names of posts like this, YYYY-MM-DD-Name of post.
236+ If the date is in the future, the post won't show up until then.
237+ To add local Images, place them in root assets folder, recomendation under a new folder called images. Not in the Site>Assets folder!
238+ That folder is just for when it has built the website, if placing anything directly there is will disaperare when it builds the website.
239+
240+ Java and Python is nessesary.
0 commit comments