A repository dedicated to collating and collection useful snippets, patterns and examples for use in a variety of settings. https://code.liampietralla.com/
Go to file
Liam Pietralla 8764b6ff05
Some checks failed
Build, Test & Publish / Build (push) Successful in 18s
Build, Test & Publish / Build and Publish Container Image (push) Successful in 23s
Build, Test & Publish / Deploy to Infrastructure (push) Failing after 2m9s
update to use token
2024-09-05 14:35:20 +10:00
.github/workflows update to use token 2024-09-05 14:35:20 +10:00
.vitepress initial commit 2024-09-05 13:54:08 +10:00
docs initial commit 2024-09-05 13:54:08 +10:00
infra/ansible update registry ansible 2024-09-05 14:31:33 +10:00
.dockerignore initial commit 2024-09-05 13:54:08 +10:00
.gitignore initial commit 2024-09-05 13:54:08 +10:00
Dockerfile initial commit 2024-09-05 13:54:08 +10:00
package-lock.json initial commit 2024-09-05 13:54:08 +10:00
package.json initial commit 2024-09-05 13:54:08 +10:00
README.md initial commit 2024-09-05 13:54:08 +10:00

LMP Snippets Store

A collection of handy code snippets and techniques that I have found useful so far in my career.

Live Site

The live site can be found at https://code.liampietralla.com/.

Running locally

To run the site locally, you will need to have Node.js installed. Once you have Node.js installed, you can run the following commands to get the site running locally:

# Install dependencies
yarn

# Run the dev server
yarn dev

Deployment

The site is deployed using a custom infrastructure setup. Ansible configuration can be found in the infra directory which is used to deploy the lastest version of the site to a DigitalOcean droplet. The site is then served using Nginx.

Deployment occurs automatically when a new commit is pushed to the main branch. This is done using GitHub Actions.