From 2a7edb22a02743b6f1480bae3cb74da878b38980 Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Tue, 6 Feb 2018 17:22:10 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AA=20Improvements=20to=20allow=20deve?= =?UTF-8?q?lopment=20in=20c9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 4 +++- _config.yml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dd81b13..023f284 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ export PATH := $(HOME)/bin:$(PATH):/usr/local/bin +IP ?= 127.0.0.1 +PORT ?= 4000 all: serve @@ -6,4 +8,4 @@ stage: bundle exec jekyll build -c '_config.yml,_config.local.yml' serve: - bundle exec jekyll serve -c '_config.yml,_config.local.yml' + bundle exec jekyll serve -H "$(IP)" -P "$(PORT)" -c '_config.yml,_config.local.yml' diff --git a/_config.yml b/_config.yml index 0383e69..a4635f7 100644 --- a/_config.yml +++ b/_config.yml @@ -86,5 +86,6 @@ exclude: - README.md - CNAME - Makefile + - .c9 include: [.circleci]