···11-# Editable Website
22-33-Work in progress! Preview only.
44-55-https://flo-bit.dev/svelsky/
66-77-Statically built svelte website using your bluesky pds as a backend with a wysiwyg editor.
88-99-## Why?
1010-1111-- Statically built websites are fast and super cheap to host (often free on github
1212-pages, cloudflare, etc).
1313-1414-- But they are usually hard to edit (for non-technical users), either you edit
1515-the code directly or you have to use (and usually pay for) a CMS of some kind.
1616-1717-- This repo aims to combine the best of both worlds: cheap, fast and easy to edit
1818-(content editing only, design is static/only changeable by editing code).
1919-2020-## Development
2121-2222-```bash
2323-pnpm install
2424-pnpm run dev
2525-```
2626-2727-## Deployment with github pages
2828-2929-1. fork the repo and enable github pages in the repo settings (Settings -> Pages -> Source -> Github Actions)
3030-3131-2. change the handle to your bluesky handle in `.github/workflows/deploy.yml` line 32:
3232-3333-```bash
3434-PUBLIC_HANDLE: 'your-bluesky-handle'
3535-```
3636-3737-3. change the base path to your repo name in `svelte.config.js` line 13:
3838-3939-```ts
4040-base: process.env.NODE_ENV === 'development' ? '' : '/svelsky'
4141-```
4242-4343-4. push to github and wait for it to deploy
4444-4545-5. edit the website by going to `https://<your-github-username>.github.io/<repo-name>/edit`,
4646-signing in with your bluesky account, editing the website and saving at the end.
4747-4848-6. rerun the workflow manually by selecting the last workflow in the github actions tab and
4949-clicking the `Re-run all jobs` button or wait for the scheduled workflow that runs every 6 hours.
11+# blento