Make sure to have installed:
- Node > 16
- Git
- Pnpm
git clone [email protected]:lyonjs/lyonjs.github.com.git
pnpm install
pnpm build
, build next output of the website and run eslintpnpm fmt
, format all files with prettierpnpm fmt:check
, check format all files with prettierpnpm dev
, start a local dev server on port 3000pnpm export
, export the website as static html filepnpm e2e
, run e2e test with Playwright
We use husky to install and handle git hooks on pre-commit to pre-run lint and format on files before even pushing them on github.
Normally, they should be installed with the first pnpm install
flowchart LR
A[Meetup GraphQL API]-->|fetch events| E[Enhance Event data]
subgraph Internal Website data
C[Sponsors] --> B
D[Organisators] -->B
E-->B[Next Static props]
end
If you need to add sponsors, videos, descriptions, speakers to a passed or programmed event, you sadly have to add it manually in a file. In data-override.ts, you can override each event by absolute url and override some informations.