Skip to content

Commit 42c7d8a

Browse files
authored
Merge pull request #22 from UBC-MDS/master
Detailed supplementary documentation with added docker compose file.
2 parents 57d8b1a + b887cf3 commit 42c7d8a

File tree

12 files changed

+762
-0
lines changed

12 files changed

+762
-0
lines changed

β€Ždocker-compose.ymlβ€Ž

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: '3.7'
2+
services:
3+
gatsby:
4+
build:
5+
context: .
6+
dockerfile: Dockerfile
7+
working_dir: /app
8+
command: gatsby develop -H 0.0.0.0
9+
ports:
10+
- "8000:8000"
11+
volumes:
12+
- .:/app
13+
- /app/node_modules/

β€Ždockerfileβ€Ž

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Docker file for running Gatsby without installing node version 10 or Gatsby.
2+
# Attribution: https://stackoverflow.com/questions/57405792/gatsby-not-rebuilding-whenever-mounted-code-changes
3+
# Hayley Boyce (kinda not really), February 6th, 2020
4+
5+
FROM node:10
6+
7+
# Add the package.json file and build the node_modules folder
8+
WORKDIR /app
9+
COPY ./package*.json ./
10+
RUN mkdir node_modules
11+
RUN npm install --g gatsby-cli
12+
RUN npm install

β€Ždocs/README.mdβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# README.md

β€Ždocs/_config.ymlβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
theme: jekyll-theme-minimal

β€Ždocs/img/chapter_layout.pngβ€Ž

111 KB
Loading

β€Ždocs/img/chapters_img.pngβ€Ž

197 KB
Loading

β€Ždocs/img/julia.pngβ€Ž

253 KB
Loading
82.7 KB
Loading

β€Ždocs/img/naome.pngβ€Ž

232 KB
Loading

0 commit comments

Comments
Β (0)