Go to file
CrimsonTome 9d9cf6ecec
feat: transfer imgs
2023-02-17 00:36:12 +00:00
.github prettier formatting 2022-09-17 03:27:11 +01:00
.idea/.idea.crimsontome-blog.dir/.idea keybase 2022-03-24 00:25:36 +00:00
_data fix metadata 2022-10-29 12:03:52 +01:00
_includes upscaled OG image 2022-09-28 11:22:32 +01:00
about chore: update cv 2023-02-06 23:30:23 +00:00
css feat: fix link colour, begin draft of march's post 2023-02-14 01:12:55 +00:00
drafts feat: fix link colour, begin draft of march's post 2023-02-14 01:12:55 +00:00
feed Revert "chore: add description field to atom feed" 2022-10-24 19:45:16 +01:00
img chore: update cv 2023-02-06 23:30:23 +00:00
posts chore: mv new post out of drafts 2023-02-01 11:00:45 +00:00
src/blog feat: transfer imgs 2023-02-17 00:36:12 +00:00
stack chore: add helix to text editors 2023-02-01 11:02:02 +00:00
.editorconfig Initial commit 2021-10-15 22:30:12 +01:00
.eleventy.js Revert "move source files to src/" 2022-09-23 23:21:57 +01:00
.eleventyignore Revert "move source files to src/" 2022-09-23 23:21:57 +01:00
.gitignore feat: add terminal theme and begin config 2023-02-16 22:53:07 +00:00
.gitmodules feat: add terminal theme and begin config 2023-02-16 22:53:07 +00:00
.prettierignore style: prettier formatting 2022-11-07 00:24:02 +00:00
.prettierrc.json format all with prettier 2022-09-17 03:17:21 +01:00
404.md Revert "move source files to src/" 2022-09-23 23:21:57 +01:00
CHANGELOG chore: update changelog 2023-02-13 23:24:37 +00:00
CONTRIBUTING.md format all with prettier 2022-09-17 03:17:21 +01:00
Dockerfile build: update nodejs ver and use nginx-stable 2023-02-13 19:29:12 +00:00
LICENSE Initial commit 2021-10-15 22:30:12 +01:00
README.md chore: add update post, init draft pw manager post 2022-12-24 12:45:33 +00:00
archive.html chore: switch non-template files from njk to html 2023-02-14 02:25:14 +00:00
changelog chore: fill in password-managers post 2022-12-26 11:06:33 +00:00
index.html chore: switch non-template files from njk to html 2023-02-14 02:25:14 +00:00
new-post.sh chore: add test script for new post scaffolding 2023-01-30 01:48:20 +00:00
package.json fix: fix hullblogs integration? 2022-10-29 11:47:21 +01:00
page-list.njk Revert "move source files to src/" 2022-09-23 23:21:57 +01:00
robots.txt Revert "move source files to src/" 2022-09-23 23:21:57 +01:00
sitemap.xml.njk Revert "move source files to src/" 2022-09-23 23:21:57 +01:00
tags-list.html chore: switch non-template files from njk to html 2023-02-14 02:25:14 +00:00
tags.html chore: switch non-template files from njk to html 2023-02-14 02:25:14 +00:00

README.md

CrimsonTome's Blog

My personal blog documenting my journey into open-source development alongside other things.
Created with 11ty, hosted in a docker container on my VPS

CI Publish Docker image Repo Size Commit Activity /month Last git commit code style: prettier

Development

  • clone the repo
  • run npm i to install dependencies
  • npm run serve
  • make some changes and watch them update in the browser

Building

Node

  • run npm run build

Docker

The site can also be built and ran inside a docker container when you are in the base of the repo:

  • sudo docker build -t crimsontome-blog .
  • sudo docker run -itd -p unused-port-number:80 crimsontome-blog
  • visit localhost:port or ip:port if you are hosting on a VPS and the site should be available to view

Dockerfile

FROM node:18-alpine3.15 as npmpackages
WORKDIR /app
COPY package.json .
RUN npm install

FROM node:18-alpine3.15 as builder
WORKDIR /app
COPY --from=npmpackages /app /app
COPY . .
RUN npm run build

FROM nginx:1.17.10-alpine
RUN rm -r /usr/share/nginx/html/
COPY --from=builder /app/_site/ /usr/share/nginx/html/

Ouroboros

Using a tool like Ouroboros, you can automatically update containers without the need for restarts. This site is setup with that so you can (instead of building it yourself like above) with sudo docker run -d -p unused-port-number:80 crimsontome427:crimsontome-blog

Contributing

See CONTRIBUTING.md for information on adding to this repository.

Changelog

Run ./changelog to generate the changelog after your commit, then git add . && git commit --amend --no-edit to generate the changelog
The changelog is available here

License

crimsontome-blog is released under the MIT License. The full license text is included in the LICENSE file in this repository. Tldr legal have a great summary of the license if you're interested.