Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gerschtli/popchor-koeln
Website of popCHORköln
https://github.com/gerschtli/popchor-koeln
Last synced: 8 days ago
JSON representation
Website of popCHORköln
- Host: GitHub
- URL: https://github.com/gerschtli/popchor-koeln
- Owner: Gerschtli
- Created: 2023-04-01T19:50:20.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T15:43:21.000Z (8 months ago)
- Last Synced: 2024-05-22T16:52:43.477Z (8 months ago)
- Language: Svelte
- Homepage: https://popchor-koeln.de
- Size: 10.7 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Website of popCHORköln
## Getting started
```sh
# setup environment variables, start off by using .env.example
cp .env.example .envpnpm install
pnpm run dev
# or start the server and open the app in a new browser tab
pnpm run dev -- --open
```**Note:** pnpm with v8 and nodejs with v21 need to be installed.
### Storyblok
For easier development, create `static/editor.html` with the following content:
```html
Storyblok Admin
STORYBLOK_PREVIEW_URL = 'http://localhost:5173/';
```
When the dev server is running (`pnpm run dev`), open and log in with the usual
credentials.To pull the component configuration into this project (this automatically regenerates the typescript type definitions):
```sh
# sometimes a manual logout is necessary, even if you are logged in already
pnpx storyblok logout# login with storyblok credentials and select "eu" as region
pnpx storyblok login# download component definitions (stored in components.227856.json) and update ts
# definitions (src/lib/component-types-storyblok.d.ts)
pnpm run storyblok:pull-components
```When you need to modify `components.227856.json` manually, you can push the changes:
```sh
# upload component definitions
pnpm run storyblok:push-components# always pull the latest state afterwards to ensure that the update is reflected
# correctly in the code
pnpm run storyblok:pull-components
```## One time project setup
### Github Actions Secrets
- `CACHIX_AUTH_TOKEN`
- `NETLIFY_AUTH_TOKEN`
- `NETLIFY_SITE_ID`
- `STORYBLOK_ACCESS_TOKEN`### Netlify project
- Set site name
- Lock auto publishing
- Set up environment variables (see `.env.example`)### Storyblok space
- Create space
- Login with `pnpx storyblok login`
- Run `pnpm run storyblok:push-components`
- Create stories