Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kwchang0831/urara.kwchang0831.dev

✒︎ Svelte SSG Blog Powered by Urara
https://github.com/kwchang0831/urara.kwchang0831.dev

netlify personal-blog svelte urara urara-blog

Last synced: 11 days ago
JSON representation

✒︎ Svelte SSG Blog Powered by Urara

Awesome Lists containing this project

README

        

# [HEADER](#)

[![Github Workflow](https://img.shields.io/github/workflow/status/kwchang0831/kwchang0831.dev/Metrics?style=plastic)](https://github.com/kwchang0831/kwchang0831.dev/actions/workflows/metrics.yml) [![https://img.shields.io/github/license/kwchang0831/kwchang0831.dev](https://img.shields.io/github/license/kwchang0831/kwchang0831.dev)](https://github.com/kwchang0831/kwchang0831.dev/blob/main/LICENSE) [![Netlify Status](https://api.netlify.com/api/v1/badges/afae98d7-2e01-49a8-ae4d-d4bac725d06e/deploy-status)](https://app.netlify.com/sites/kwchang0831-dev/deploys)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fkwchang0831%2Fkwchang0831.dev.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fkwchang0831%2Fkwchang0831.dev?ref=badge_shield)

## PageSpeed Insight

[PAGESPEED](#)

## Requirements

- Install Nodejs @latest

```shell
# Ubuntu
sudo apt install nodejs
```

```shell
# Windows
sudo choco install nodejs
```

```shell
# asdf
asdf install nodejs latest
asdf global nodejs latest
```

- pnpm

```shell
npm install -g pnpm
```

## Local Run

Install deps

```shell
pnpm i
```

Run dev server @ `localhost:3000`

```shell
pnpm dev
```

> ! For Windows' Users

Modify `package.json`, use `set` instead of `export` for all places appropriate.

```diff
- "dev:kit": "export NODE_OPTIONS='--max_old_space_size=20480' && MODE=development svelte-kit dev --host",
+ "dev:kit": "set NODE_OPTIONS='--max_old_space_size=20480' && MODE=development svelte-kit dev --host",
```

Or, you may consider using `cross-env` from [kentcdodds/cross-env](https://github.com/kentcdodds/cross-env) ( [NPM: cross-env](https://www.npmjs.com/package/cross-env) ).

## Local Build

```shell
pnpm build
```

```shell
pnpm preview
```

## Create & Build & Deploy onto Netlify

### Create / Link existing site

```shell
netlify sites:create
```

or

```shell
netlify link
```

### Local Build for Netlify

```shell
netlify build
```

### Deploy

```shell
netlify deploy
netlify deploy --prod
```

## Powered by

- Urara: [https://github.com/importantimport/urara](https://github.com/importantimport/urara)

## Hosted on

- Netlify: [https://www.netlify.com](https://www.netlify.com)

## Useful Links

- avif-cli: [https://github.com/lovell/avif-cli](https://github.com/lovell/avif-cli)
- icons: [https://icones.js.org/](https://icones.js.org/)

## License

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fkwchang0831%2Fkwchang0831.dev.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fkwchang0831%2Fkwchang0831.dev?ref=badge_large)