Skip to content

This repository contains Jimmy Luo's personal website. As of August 31, 2022, the main branch of this repository is continuously deployed to https://jimm.my.

License

Notifications You must be signed in to change notification settings

jimmy-zhening-luo/jimmy

Repository files navigation

Azure Deploy (PROD.main)

What am I?

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


Build, test, and deploy this app

Local testing


Step 1: Prepare your development environment.
  1. If you don't already have Node.js, install Node.js.

  2. Save this Git repository on your local machine.

  3. Open a terminal at the root of the repository.

  4. 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


Deploying to production

TBD

TBD some point in the future.

About

This repository contains Jimmy Luo's personal website. As of August 31, 2022, the main branch of this repository is continuously deployed to https://jimm.my.

Topics

Resources

License

Stars

Watchers

Forks