Skip to content

Commit 1bee35b

Browse files
committed
Add readme
1 parent 0746f60 commit 1bee35b

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
*.old
55
*.log
66
*.lock
7+
public/

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# itsallcode.github.io
2+
3+
Content of https://blog.itsallcode.org/
4+
5+
## Publishing Guide
6+
7+
### Checkout
8+
9+
```sh
10+
git clone https://github.com/itsallcode/itsallcode.github.io.git
11+
cd itsallcode.github.io/
12+
git submodule init
13+
git submodule update
14+
```
15+
16+
### Initial Setup
17+
18+
Install [Hugo](https://gohugo.io/):
19+
20+
```sh
21+
sudo apt install hugo
22+
```
23+
24+
### Start Live Preview
25+
26+
Start Hugo server:
27+
28+
```sh
29+
cd itsallcode.github.io
30+
hugo server
31+
```
32+
33+
Open http://localhost:1313 in your browser. The blog will be updated automatically when you save files.
34+
35+
### Build Website
36+
37+
Run the following command:
38+
39+
```sh
40+
hugo
41+
```
42+
43+
This will generate the website in directory `public/`.

0 commit comments

Comments
 (0)