Skip to content

Commit 7006b74

Browse files
committed
Shifting into own directory
1 parent 9354f19 commit 7006b74

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ output
77
cache
88
.sass-cache
99
**/.idea
10+
.DS_Store
11+
12+
# Publishing creations...
13+
publishing/output
14+
publishing/juice

Dockerfile renamed to publishing/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
FROM ubuntu:18.04
22

3+
# Must run from base TWIR directory... makefile takes care of this.
34
WORKDIR /usr/twir
45

56
RUN apt-get update
@@ -25,9 +26,9 @@ RUN apt-get install -y nodejs
2526
RUN npm install -g sass
2627
RUN npm install -g juice
2728

28-
COPY tools/run_server.sh run_server.sh
29+
COPY publishing/run_server.sh run_server.sh
2930
RUN chmod 777 run_server.sh
30-
COPY tools/create_html_friendly_page.sh create_html_friendly_page.sh
31+
COPY publishing/create_html_friendly_page.sh create_html_friendly_page.sh
3132
RUN chmod 777 create_html_friendly_page.sh
3233

3334
CMD ["pelican", "--delete-output-directory", "content"]

Makefile renamed to publishing/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
BLOG_DOWNLOAD=http://127.0.0.1:8000/blog/2022/07/27/this-week-in-rust-453/
3232

3333
build:
34-
docker build -t twir .
34+
cd .. && docker build -t twir -f publishing/Dockerfile . && cd -
3535

3636
clean:
3737
rm -rf output/
File renamed without changes.

0 commit comments

Comments
 (0)