Skip to content

Source Installation

First, clone the repository:

Terminal window
git clone https://github.com/Clickin/Daemun.git
cd Daemun

If pnpm is not installed, install it:

Terminal window
npm install -g pnpm

Then install dependencies and build the production bundle:

Terminal window
pnpm install
pnpm build

If this is your first time starting, copy the src/skeleton directory to config/ to populate initial example config files.

Finally, run the server:

Terminal window
HOMEPAGE_ALLOWED_HOSTS=localhost:3000 pnpm start

When updating Daemun versions you will need to rebuild the static files, i.e. repeat the process above.

See HOMEPAGE_ALLOWED_HOSTS for more information on this environment variable.