29 lines
790 B
Markdown
29 lines
790 B
Markdown
# Install Muddle from Forgejo
|
|
|
|
Install the framework directly from the Muddle Forgejo repository.
|
|
|
|
```sh
|
|
bun add muddle@git+https://git.crit.rip/mdl/muddle.git
|
|
```
|
|
|
|
```sh
|
|
npm install muddle@git+https://git.crit.rip/mdl/muddle.git
|
|
```
|
|
|
|
Integrations are isolated `@muddle/*` modules. After their Forgejo repositories are provisioned, install one independently.
|
|
|
|
```sh
|
|
bun add @muddle/shadcn@git+https://git.crit.rip/mdl/shadcn.git
|
|
```
|
|
|
|
Create a Forgejo personal access token with repository creation rights, then provision the namespace repositories. The script only reads `MUDDLE_FORGEJO_TOKEN` from the environment and never prints it.
|
|
|
|
```sh
|
|
MUDDLE_FORGEJO_TOKEN=token bun scripts/forgejo-modules.ts
|
|
```
|
|
|
|
Preview without network writes.
|
|
|
|
```sh
|
|
bun scripts/forgejo-modules.ts --dry-run
|
|
```
|