Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teemukoivisto/teemukoivisto.xyz
Blog made with SvelteKit, Tailwind, markdown, Cloudflare
https://github.com/teemukoivisto/teemukoivisto.xyz
blog cloudflare markdown svelte sveltekit tailwindcss
Last synced: about 1 month ago
JSON representation
Blog made with SvelteKit, Tailwind, markdown, Cloudflare
- Host: GitHub
- URL: https://github.com/teemukoivisto/teemukoivisto.xyz
- Owner: TeemuKoivisto
- License: mit
- Created: 2022-08-12T18:17:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-11T09:37:00.000Z (9 months ago)
- Last Synced: 2024-04-13T14:56:27.820Z (9 months ago)
- Topics: blog, cloudflare, markdown, svelte, sveltekit, tailwindcss
- Language: TypeScript
- Homepage: https://teemukoivisto.xyz
- Size: 7.2 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [teemukoivisto.xyz](https://teemukoivisto.xyz)
A blog.
Feel free to use it as boilerplate but please make the styles your own! And the contents, obviously.
[CloudFlare](https://teemukoivisto-site.pages.dev/)
# How to run locally
You need need Node.js >=16, pnpm >=7. Also to deploy it: `wrangler`, Cloudflare account and [GitHub oauth app](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app).
1. `pnpm i`
2. `pnpm --filter svelte-seo-meta-tags --filter lib build`
3. `pnpm site` should start the app# How to deploy
In order to have the oauth working, you need to create a Github oauth app https://github.com/settings/developers and save the values to `packages/site/.dev.vars` for local dev.
```
GITHUB_OAUTH_CLIENT_ID=
GITHUB_OAUTH_CLIENT_SECRET=
```To deploy, you should create additional oauth app (1 for localhost, 1 for prod) and create a Cloudflare pages project. And then set the secrets & variables as in `wrangler.toml`, R2 bucket and KV namespace.
# Others
Use `pnpm format` to Prettify and lint