initial commit
Some checks failed
Build, Test & Publish / Build and Publish Container Image (push) Has been cancelled
Build, Test & Publish / Deploy to Infrastructure (push) Has been cancelled
Build, Test & Publish / Build (push) Has been cancelled

This commit is contained in:
2024-09-05 13:54:08 +10:00
commit 8ad5845efc
57 changed files with 6046 additions and 0 deletions

25
README.md Normal file
View File

@@ -0,0 +1,25 @@
# 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/](https://code.liampietralla.com/).
### Running locally
To run the site locally, you will need to have [Node.js](https://nodejs.org/en/) installed. Once you have Node.js installed, you can run the following commands to get the site running locally:
```bash
# 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.