mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
docs(setup): pin Node 22.12.0 and document Corepack workflow
This commit is contained in:
@@ -89,14 +89,19 @@ To have your board appear in a directory on the 5chan homepage:
|
|||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
- Node.js v22 (Download from https://nodejs.org)
|
- Node.js 22.12.0, pinned in [`.nvmrc`](./.nvmrc)
|
||||||
- Corepack enabled for Yarn 4: `corepack enable`
|
- Corepack enabled once per machine: `corepack enable`
|
||||||
- Portless is installed with project dependencies via `corepack yarn install`
|
|
||||||
|
### Contributor Setup
|
||||||
|
|
||||||
|
1. Run `nvm install && nvm use`
|
||||||
|
2. Run `corepack enable` once
|
||||||
|
3. Use plain `yarn install`, `yarn build`, and `yarn test`
|
||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
|
|
||||||
1. Clone the repository
|
1. Clone the repository
|
||||||
2. Install dependencies: `corepack yarn install`
|
2. Install dependencies: `yarn install`
|
||||||
3. Start the web client: `yarn start`
|
3. Start the web client: `yarn start`
|
||||||
|
|
||||||
The dev server runs at http://5chan.localhost:1355 via [Portless](https://port1355.dev/), which gives each Bitsocial project a stable, named URL instead of a random port. To bypass Portless and use a plain Vite dev server: `PORTLESS=0 yarn start`
|
The dev server runs at http://5chan.localhost:1355 via [Portless](https://port1355.dev/), which gives each Bitsocial project a stable, named URL instead of a random port. To bypass Portless and use a plain Vite dev server: `PORTLESS=0 yarn start`
|
||||||
|
|||||||
Reference in New Issue
Block a user