Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 93253b8

Browse files
authored
Merge pull request #197 from pzelnip/fixDevEnv
More fixes for running locally
2 parents 657f217 + dd19d3a commit 93253b8

7 files changed

+11
-10
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@ clean:
3030
docker images | grep $(SITE_NAME) | awk {'print $3'} | xargs docker rmi
3131

3232
regenerate:
33-
$(PELICAN) -r $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
33+
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
34+
if test -d $(BASEDIR)/extra; then cp $(BASEDIR)/extra/* $(OUTPUTDIR)/; fi
3435

3536
publish:
3637
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS)
3738
if test -d $(BASEDIR)/extra; then cp $(BASEDIR)/extra/* $(OUTPUTDIR)/; fi
3839

39-
devserver: publish
40+
devserver: regenerate
4041
$(PELICAN) --listen
4142

4243
cleanbranches:

content/devopsdaysyyj.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,4 @@ in Victoria.
114114
Tomorrow conference season continues for me as I'll be attending the 7th annual
115115
Polyglot Unconference in Vancouver, a favourite event of mine. I'll likely blog about what
116116
I see there, but you can also read about what I've seen in prior years in my posts from
117-
prior years [here]({static}/polyglotconf-2012.md) and [here]({filename}/polyglotconf-2017.md).
117+
prior years [here]({filename}/polyglotconf-2012.md) and [here]({filename}/polyglotconf-2017.md).

content/pages/gear.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,4 +258,4 @@ Ok, so this was a bit playful, but honestly, I take a bit of pride in not spendi
258258
gear I use. Often people in tech can be caught up with the latest & greatest (and most expensive),
259259
but you can do a lot with not a ton of money.
260260

261-
In any case, there you have it, some of the gear I use. Did I miss anything? [Lemme know]({static}contact.md)
261+
In any case, there you have it, some of the gear I use. Did I miss anything? [Lemme know]({filename}contact.md)

content/polyglotconf-2018.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ tags: polyglotconf,conferences,learning
66
cover: static/imgs/polyglotconflogo.png
77
summary: I got to go back yet again for the 7th Annual Polyglot Unconference in Vancouver. Let's recap.
88

9-
This year, like many past years (see [here]({static}/polyglotconf-2012.md) and
10-
[here]({static}/polyglotconf-2017.md)), I was fortunate enough to be able to make the trip to
9+
This year, like many past years (see [here]({filename}/polyglotconf-2012.md) and
10+
[here]({filename}/polyglotconf-2017.md)), I was fortunate enough to be able to make the trip to
1111
YVR for the annual [Polyglot Unconference](https://www.polyglotconf.com). This event, now
1212
in it's 7th year, has been a favourite of mine for some time as it's a great (and very
1313
affordable) opportunity to network with a bunch of other technologists, hear about new

content/serverless-microservices-with-python-p2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Date: 2017-07-28 10:20
33
tags: lambda,serverless,microservices,aws,python
44
cover: static/imgs/python-logo-master-v3-TM.png
55

6-
Ok, so in [part 1]({static}/serverless-microservices-with-python-p1.md) of this series, I started off by exploring the
6+
Ok, so in [part 1]({filename}/serverless-microservices-with-python-p1.md) of this series, I started off by exploring the
77
use of [Lambda](https://aws.amazon.com/lambda/) and
88
[API Gateway](https://aws.amazon.com/api-gateway/) as a tool for building scalable microservices in Python. I largely
99
focussed on taking an existing tutorial, and building out some unit tests for it, as well as some supplementary scripts

content/stotd-bash-select-part-deux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ summary: Shell Tip Of the Day - Interactively deleting Docker images with Bash's
1212
([source](https://devrant.com/rants/752222/if-all-you-have-is-a-hammer-everything-looks-like-a-nail-this-was-something-whic))
1313

1414
Sometimes when you learn about a hammer, everything looks like a nail.... In
15-
[a previous tip]({static}/stotd-select-untracked-files.md) I showed off using
15+
[a previous tip]({filename}/stotd-select-untracked-files.md) I showed off using
1616
Bash's `select` statement to interactively select untracked files in a Git repo.
1717

1818
Today I found another use for the `select` statement -- deleting local Docker
@@ -93,7 +93,7 @@ Dissecting the clunky argument to `docker rmi`: `awk -F'--' '{print $1}'` splits
9393
the input string on a double dash and then prints just the first column (the ID
9494
in our case). We then just echo it back to `docker rmi`. This works, and I
9595
tweeted it at Eric Promislow who was the person who demoed
96-
[the select statement at Polyglot this year]({static}/polyglotconf-2018.md)
96+
[the select statement at Polyglot this year]({filename}polyglotconf-2018.md)
9797
which was where I first saw the trick:
9898

9999
<!-- markdownlint-disable MD033 -->

content/stotd-select-untracked-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cover: static/imgs/logos/Gnu-bash-logo-crunch.png
77
summary: Shell Tip Of the Day - Selecting untracked files
88

99
Today's tip of the day is a follow up from something I learned at
10-
[this year's Polyglot UnConference]({static}/polyglotconf-2018.md) -- how
10+
[this year's Polyglot UnConference]({filename}/polyglotconf-2018.md) -- how
1111
to use ```select``` with the Bash shell for interactive goodness.
1212

1313
At Polyglot I saw an example that looked like this:

0 commit comments

Comments
 (0)