Skip to content

Commit 02793eb

Browse files
ericcohen128Eric D. Cohen
authored andcommitted
Add Ubuntu/Jekyll instructions
1 parent 3d11e55 commit 02793eb

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
remote_theme: pages-themes/[email protected]
2-
title: Test Pages
2+
title: Engineering Blog
33
plugins:
44
- jekyll-remote-theme # add this line to the plugins list if you already have one
55

index.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: default
3+
title: "Engineering Blog"
34
---
45

56
# GitHub Blog Entries
@@ -10,6 +11,19 @@ layout: default
1011

1112
{% endfor %}
1213

13-
# Random test
14+
# How To Preview and Submit a Blog Entry
1415

15-
Testing pages...test..@zx
16+
This site is hosted on [GitHub Pages](https://pages.github.com/) and uses [Jekyll](https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll) to generate the site HTML from markdown.
17+
18+
## Ubuntu/Linux
19+
20+
First, clone the github pages repo. Then, to make and preview edits locally, install, and start [Jekyll](https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll):
21+
22+
```
23+
cd $GITPAGES_DIR
24+
sudo apt-get install bundler jekyll rails
25+
sudo bundle install
26+
bundle exec jekyll serve
27+
```
28+
29+
You should now be able to preview your site locally at `http://127.0.0.1:4000`. Note that the Jekyll server should automatically pick up edits upon save via inode notify.

0 commit comments

Comments
 (0)