This repository contains the source code for aidansun.com. The website is built with:
- Astro (backend)
- Vue.js (frontend)
- Nginx (server)
- Docker (deployment)
- DigitalOcean (hosting)
This website is deployed using Docker and Docker Compose. Docker Compose files:
docker-compose.yml
: Base Compose file.docker-compose.override.yml
: Local development, mounts the repository root in the container.docker-compose.prod.yml
: Production, includes nginx and TLS configured.docker-compose.staging.yml
: For testing use, like the production file but without TLS.
Run development container locally:
docker compose -f docker-compose.yml -f docker-compose.override.yml up --build
Run staging container locally:
docker compose -f docker-compose.yml -f docker-compose.staging.yml up --build
npm i # Install dependencies
npm run favicons # Generate favicon files
npm run dev # Start development server
- Code: VSCode
- SVGs (
/src/img/**.svg
): Inkscape - Schematics (
/kicad/
): KiCad
EditorConfig, ESLint, Prettier, and VSCode configuration files are included in the repository.
- Astro
- EditorConfig for VS Code
- ESLint
- language-postcss
- MDX
- nginx.conf hint
- Npm Dependency
- Prettier - Code formatter
- Vue Language Features (Volar)
This website's code and assets are licensed under the MIT License.
This repository also contains the Arduino libraries that are featured on the site in res/downloads/
; each has its own MIT license document.