Go to file
CrimsonTome c95c179d24
feat: add stack page data
2022-10-26 23:21:06 +01:00
.github
.idea/.idea.crimsontome-blog.dir/.idea
_data chore: update feed metadata 2022-10-24 19:31:50 +01:00
_includes upscaled OG image 2022-09-28 11:22:32 +01:00
about Revert "style: prettier formatting" 2022-10-24 21:03:42 +01:00
css fix css 2022-09-28 20:06:23 +01:00
drafts empty drafts 2022-10-20 21:17:26 +00:00
feed Revert "chore: add description field to atom feed" 2022-10-24 19:45:16 +01:00
img chore: update about page with cv 2022-10-20 22:53:37 +01:00
posts Revert "chore: add test post for cohost bot" 2022-10-24 21:03:58 +01:00
stack feat: add stack page data 2022-10-26 23:21:06 +01:00
.editorconfig
.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
.prettierignore update prettierignore 2022-09-17 03:28:32 +01:00
.prettierrc.json
404.md Revert "move source files to src/" 2022-09-23 23:21:57 +01:00
CONTRIBUTING.md
Dockerfile
LICENSE
README.md Revert "Revert "fix code formatting in readme"" 2022-09-23 23:24:50 +01:00
archive.njk Revert "move source files to src/" 2022-09-23 23:21:57 +01:00
index.njk feat: add stack page data 2022-10-26 23:21:06 +01:00
package.json
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.njk Revert "move source files to src/" 2022-09-23 23:21:57 +01:00
tags.njk Revert "move source files to src/" 2022-09-23 23:21:57 +01: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.

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.