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

Skip to content

Commit 9274860

Browse files
author
Adam Parkin
committed
Merge branch 'master' into everything_in_docker
2 parents 5eea9e8 + 0829461 commit 9274860

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM koalaman/shellcheck-alpine
1+
FROM alpine:latest
22

33
WORKDIR /build
44

Makefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ help:
3939
@echo ' make s3_upload upload the web site via S3 '
4040
@echo ' make markdownlint run markdownlint on content '
4141
@echo ' make pylint run pylint on content '
42-
@echo ' make shellcheck run shellcheck on all the scripts '
4342
@echo ' make lint_the_things run all linters & checks '
4443
@echo ' make dockerbuild build docker image '
4544
@echo ' make dockerrun run a shell in built Docker image '
@@ -92,18 +91,14 @@ publish:
9291
s3_upload: publish lint_the_things
9392
aws s3 sync $(OUTPUTDIR) s3://$(S3_BUCKET) --delete $(S3OPTS)
9493

95-
lint_the_things: markdownlint pylint shellcheck
94+
lint_the_things: markdownlint pylint
9695

9796
markdownlint: dockerbuild
9897
docker run --rm -it -w /build/content $(DOCKER_IMAGE_NAME):latest markdownlint .
9998

10099
pylint: dockerbuild
101100
docker run --rm -it -w /build/python $(DOCKER_IMAGE_NAME):latest pylint *.py
102101

103-
shellcheck: dockerbuild
104-
echo "Shellcheck disabled until its fixed"
105-
#docker run --rm -it -w /build/shell $(DOCKER_IMAGE_NAME):latest shellcheck *.sh
106-
107102
dockerbuild:
108103
docker build -t $(DOCKER_IMAGE_NAME):latest .
109104

content/setting-up-the-site-in-aws.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
Title: Setting Up A Pelican Site in AWS
2-
Date: 2018-04-03 07:24
2+
Date: 2018-04-08 07:24
33
tags: pelican,aws,s3,hosting
4-
Status: draft
54

65
So I was going to write a blog post outlining most of the stuff I did in getting this
76
site up off the ground, but then a colleague went ahead and did the same and
87
wrote up his journey. :)
98

10-
So, in true CodependentCodr fashion, Imma going to stea...err borrow his content since I was largely the same steps.
9+
So, in true CodependentCodr fashion, Imma going to stea...err borrow his content since
10+
mine was largely the same steps (and he's better at AWS than I am). :p
1111

12-
Go here and here for all the deets on getting a static site set up with Pelican in AWS.
13-
Ben does a great job too of walking through setting up a nice local dev pipeline with Docker
14-
(mine's not quite the same, but similar, and I'm likely eventually going to do the same as him).
12+
Go [here](https://ben.gnoinski.ca/how-this-site-came-to-be.html) for all the deets on getting
13+
a static site set up with Pelican in AWS. Ben does a great job too of walking through setting
14+
up a nice local dev pipeline with Docker (mine's not quite the same, but similar, and I'm
15+
likely eventually going to do the same as him).
1516

16-
<http://ben.gnoinski.ca.s3-website.ca-central-1.amazonaws.com/how-this-site-came-to-be.html>
17-
18-
<http://ben.gnoinski.ca.s3-website.ca-central-1.amazonaws.com/uploading-my-new-site-to-s3.html>
17+
Thanks Ben!

0 commit comments

Comments
 (0)