Skip to content

Commit b29fc61

Browse files
committed
Added using of _config.local.yml while starting jekyll server and to documentation
1 parent 5abfaa5 commit b29fc61

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ Cookbooks:
3131
Start jekyll server (as root):
3232
------------------------------------------------------------------
3333
```
34-
jekyll serve --source /var/www/jekyll-example/ --destination /tmp/jekyll/sites/jekyll-example/ --port 80 --watch --force_polling
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
3535
```
3636
After starting a jekyll server it avaiable in you browser under http://localhost:8080/.
3737

3838
Building page (as root):
3939
------------------------------------------------------------------
4040
```
41-
jekyll build --source /var/www/jekyll-example/ --destination /tmp/jekyll/sites/jekyll-example/ --watch --force_polling
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
4242
```
4343

4444
Kill jekyll's (as root):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
end
2323

2424
execute "start automatic building of 'jekyll-example' with jekyll" do
25-
command "jekyll serve --source /var/www/jekyll-example/ --destination /tmp/jekyll/sites/jekyll-example/ --port 80 --watch --force_polling --detach"
25+
command "jekyll serve --source /var/www/jekyll-example/ --destination /tmp/jekyll/sites/jekyll-example/ --port 80 --watch --force_polling --detach --config /var/www/jekyll-example/_config.local.yml"
2626
user "root"
2727
action :run
2828
end

0 commit comments

Comments
 (0)