This repository contains Jimmy Luo's personal website. As of August 31, 2022, the main
branch of this repository is continuously deployed to jimm.my.
Dev Tools
This is a static web app built on Node.js using SvelteKit, a helper that bundles Svelte and Vite.
- Svelte enables concise, descriptive, and modular syntax for site content, routing, style, and logic.
- Vite provides a self-contained, minimal-config test and build environment, capable of adapting Svelte code into a compact servable static bundle.
The source is written in TypeScript and Svelte.
Key | Value |
---|---|
Platform | Windows 11 |
Architecture | amd64 |
IDE | Visual Studio Code |
Dependencies | See package.json |
Deployment Infra
The source contained in this repository's main
branch is continuously built and deployed to an Azure Static Web App instance using GitHub Actions.
Key | Value |
---|---|
Cloud Service Provider | Microsoft Azure |
Cloud App | Azure Static Web App |
CI/CD Connector | GitHub Actions |
Step 1: Prepare your development environment.
-
If you don't already have Node.js, install Node.js.
-
Save this Git repository on your local machine.
-
Open a terminal at the root of the repository.
-
Run the following command to install all the required Node.js packages (specified in your project root directory by package.json):
npm ci
You now have:
- ... all the necessary project files downloaded to your local directory.
- ... all the necessary dependencies installed to locally build and deploy (test) this web app.
Step 2: Build and run the web app.
You can now run this web app's dev
script, which uses Vite to build a local (unoptimized) static web app bundle and serve the built bundle from your local host machine. It also continuously rebuilds when any code changes are detected, so you can see your changes in real-time.
npm run dev
TBD
TBD some point in the future.