Skip to content

Commit e9d3f7c

Browse files
committed
add jekyll info to readme
1 parent 9071b8f commit e9d3f7c

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_site/
2+
*.orig
3+
*~

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,28 @@ ev3dev.github.io
33

44
This is the web page at <http://www.ev3dev.org> and also <http://ev3dev.github.io>.
55

6-
Feel free to fork and make a pull request.
6+
Feel free to fork and make a pull request.
77

8-
When forking, you can create a new branch called `gh-pages`, then your changes can be
9-
viewed as `http://<user>.github.io/ev3dev.github.io`. When you do this though,
10-
GitHub will send you lots of email like this, which you should ignore.
8+
You can view your changes locally by installing [jekyll](http://jekyllrb.com/).
9+
10+
In ubuntu 14.04:
11+
12+
sudo apt-get install git ruby1.9.1-dev nodejs
13+
sudo gem install jekyll
14+
git clone git@github.com:<user>/ev3dev.github.io
15+
cd ev3dev.github.io
16+
jekyll serve &
17+
www-browser http://localhost:4000 &
18+
# work, work, work
19+
jekyll build
20+
# refresh browser
21+
# repeat until satisfied
22+
git commit -am "<describe your changes here>"
23+
git push
24+
25+
Alternately, when forking, you can create a new branch called `gh-pages`, then your
26+
changes can be viewed as `http://<user>.github.io/ev3dev.github.io`. When you do this
27+
though, GitHub will send you lots of email like this, which you should ignore.
1128

1229
The page build completed successfully, but returned the following warning:
1330

0 commit comments

Comments
 (0)