Skip to content

AidanSun05/website

Repository files navigation

Website

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)

Docker

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

Setup

npm i            # Install dependencies
npm run favicons # Generate favicon files

npm run dev      # Start development server

Software

  • Code: VSCode
  • SVGs (/src/img/**.svg): Inkscape
  • Schematics (/kicad/): KiCad

Editor Configuration

EditorConfig, ESLint, Prettier, and VSCode configuration files are included in the repository.

VSCode Extensions

License

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.