Skip to content

gren-lang/package.gren-lang.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ca6f700 · Feb 12, 2025
Jul 18, 2023
Oct 30, 2024
Dec 13, 2024
Mar 18, 2024
Aug 16, 2022
Aug 22, 2022
Jun 8, 2024
Jul 21, 2022
Mar 6, 2024
Oct 30, 2024
Dec 14, 2024
Jun 9, 2022
Aug 23, 2022
Dec 13, 2024
Dec 13, 2024
Aug 23, 2022
Feb 12, 2025
Feb 12, 2025
Jun 16, 2024

Repository files navigation

Gren Packages

The server hosting Gren's packaging site.

Read the official announcement to learn more.

Preview docs

When installing this package through npm, you will get a binary called gren-doc-preview.

Execute this while standing in a Gren package directory, and a server will be hosted on http://localhost:3000 (by default) with the documentation of that package, as it will look on the official package site.

This preivew'er currently doesn't do auto-reloading, so you'll need to relaunch the binary every time you make a change to the documentation.

Configuration

By default, the packaging site will run on port 3000 and the documentation will be stored in an in-memory database. Both of these can be changed using environment variables:

  • GREN_PORT sets the port the server listen on
  • GREN_PACKAGES_DATABASE sets a path where a sqlite database containing the documentation will be stored.