Skip to content

Commit 1895ac4

Browse files
committed
Removed jekyll-server.rb
Remove the recipe because automated starting of jekyll instances to build multiple pages at same time is requirement described in #2.
1 parent b29fc61 commit 1895ac4

3 files changed

Lines changed: 14 additions & 37 deletions

File tree

README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,24 @@ Cookbooks:
2828
* ruby
2929
* rubygems
3030

31-
Start jekyll server (as root):
31+
Starting a jekyll server:
3232
------------------------------------------------------------------
33+
The basic usage is describe on [jekyllrb.com](http://jekyllrb.com/docs/usage/) page. This is just a short instruction
34+
for further information look there.
35+
36+
*Command:*
3337
```
34-
jekyll serve --source /var/www/jekyll-example/ --destination /tmp/jekyll/sites/jekyll-example/ --port 80 --watch --force_polling --config /var/www/jekyll-example/_config.local.yml
38+
sudo jekyll serve --source <source> --destination <destination> --port <port> --watch --force_polling --config <config>
3539
```
36-
After starting a jekyll server it avaiable in you browser under http://localhost:8080/.
37-
38-
Building page (as root):
39-
------------------------------------------------------------------
40+
*Example by using tech. study [jekyll-example](https://github.com/mlatzko/jekyll-example)*
4041
```
41-
jekyll build --source /var/www/jekyll-example/ --destination /tmp/jekyll/sites/jekyll-example/ --watch --force_polling --config /var/www/jekyll-example/_config.local.yml
42+
jekyll serve --source /var/www/jekyll-example/ --destination /tmp/jekyll/sites/jekyll-exampl --port 80 --watch --force_polling --config /var/www/jekyll-example/_config.local.yml
4243
```
44+
*Notice:* There are two _config.yml one default and one specfic for local development with this machine, the
45+
reason is that the page is also rendered by github page see [jekyll-example](https://github.com/mlatzko/jekyll-example) repository.
46+
The example page is available under [http://mlatzko.github.io/jekyll-example/].
4347

44-
Kill jekyll's (as root):
48+
Kill any jekyll's without thinking:
4549
------------------------------------------------------------------
4650
```
4751
sudo kill -9 $(ps opid= -C jekyll)
@@ -51,7 +55,9 @@ Useful Links:
5155
------------------------------------------------------------------
5256
* https://www.virtualbox.org/
5357
* http://www.vagrantbox.es/
58+
* http://www.putty.org/
5459
* http://jekyllrb.com/
60+
* http://jekyllrb.com/docs/usage/
5561

5662
Copyright and license:
5763
------------------------------------------------------------------

cookbooks/github-pages/recipes/default.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@
2121

2222
include_recipe "github-pages::gem-bundler"
2323
include_recipe "github-pages::gem-github-pages"
24-
include_recipe "github-pages::jekyll-server"

cookbooks/github-pages/recipes/jekyll-server.rb

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)