Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kwchang0831/urara.kwchang0831.dev
- Owner: kwchang0831
- License: mit
- Created: 2022-04-27T13:29:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-19T19:49:20.000Z (about 2 years ago)
- Last Synced: 2024-10-11T01:49:34.592Z (28 days ago)
- Topics: netlify, personal-blog, svelte, urara, urara-blog
- Language: Svelte
- Homepage: https://urara.kwchang0831.dev
- Size: 8.68 MB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [](#)
[![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
[](#)
## 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)