Skip to content

Commit 29f7fc1

Browse files
committed
prod
1 parent 37b20cd commit 29f7fc1

22 files changed

+1001
-6
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
public
2+
node_modules

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM nginx:1.15.2-alpine
2+
3+
COPY public /usr/share/nginx/html

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
.PHONY: deploy
3+
deploy:
4+
docker build -t acroca/code-cell.com:latest .
5+
docker save -o site.tar acroca/code-cell.com:latest
6+
scp site.tar root@do01:~/
7+
rm site.tar
8+
ssh root@do01 "docker load -i site.tar && ./run_code_cell.sh"

config.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
baseURL = "http://example.org/"
1+
theme="code-cell"
2+
baseurl = "http://localhost:1414/"
23
languageCode = "en-us"
3-
title = "My New Hugo Site"
4+
title = "Code Cell"
5+
6+
[params]
7+
8+
author = "Code Cell"
9+
description = "Code Cell"

package-lock.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

production.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
theme="code-cell"
2+
baseurl = "https://www.code-cell.com/"
3+
languageCode = "en-us"
4+
title = "Code Cell"
5+
6+
[params]
7+
8+
author = "Code Cell"
9+
description = "Code Cell"

resources/_gen/assets/sass/sass/main.sass_48b060fe05b0a273d182ef83c0605941.content

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"Target":"sass/main.min.ae907e3fac23b14d1e4ad7a0465afd40a18abe91f72a2b22608fb62f8b85258d.css","MediaType":"text/css","Data":{"Integrity":"sha256-rpB+P6wjsU0eStegRlr9QKGKvpH3KisiYI+2L4uFJY0="}}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
+++
2+
+++

0 commit comments

Comments
 (0)