[READ-ONLY] Mirror of https://github.com/flo-bit/svelsky. editable svelte website with bluesky pds as backend flo-bit.dev/svelsky/
0

Configure Feed

Select the types of activity you want to include in your feed.

update readme, config, deploy

+28 -4
+1
.github/workflows/deploy_gh_pages.yml .github/workflows/deploy.yml
··· 4 4 push: 5 5 branches: 6 6 - main 7 + workflow_dispatch: 7 8 8 9 jobs: 9 10 build_site:
+26 -3
README.md
··· 5 5 ## Development 6 6 7 7 ```bash 8 - npm install 9 - npm run dev 10 - ``` 8 + pnpm install 9 + pnpm run dev 10 + ``` 11 + 12 + ## Deployment with github pages 13 + 14 + 1. fork the repo and enable github pages in the repo settings (Settings -> Pages -> Source -> Github Actions) 15 + 16 + 2. change the handle to your bluesky handle in `.github/workflows/deploy.yml` line 32: 17 + 18 + ```bash 19 + PUBLIC_HANDLE: 'your-bluesky-handle' 20 + ``` 21 + 22 + 3. change the base path to your repo name in `svelte.config.js` line 13: 23 + 24 + ```ts 25 + base: process.env.NODE_ENV === 'development' ? '' : '/svelsky' 26 + ``` 27 + 28 + 4. push to github and wait for it to deploy 29 + 30 + 5. edit the website by going to `https://<your-github-username>.github.io/<repo-name>/edit`, 31 + signing in with your bluesky account, editing the website and saving at the end. 32 + 33 + 6. rerun the workflow manually by clicking the `Run workflow` button in the github actions tab.
+1 -1
svelte.config.js
··· 10 10 kit: { 11 11 adapter: adapter(), 12 12 paths: { 13 - base: process.env.NODE_ENV === 'development' ? '' : '/editable-website-test' 13 + base: process.env.NODE_ENV === 'development' ? '' : '/svelsky' 14 14 } 15 15 } 16 16 };