mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-24 14:02:13 +08:00
add mkdocs
This commit is contained in:
25
docs/installation/source.md
Normal file
25
docs/installation/source.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
title: Source Installation
|
||||
description: Install and run homepage from source
|
||||
---
|
||||
|
||||
First, clone the repository:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/benphelps/homepage.git
|
||||
```
|
||||
|
||||
Then install dependencies and build the production bundle (I'm using pnpm here, you can use npm or yarn if you like):
|
||||
|
||||
```bash
|
||||
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:
|
||||
|
||||
```bash
|
||||
pnpm start
|
||||
```
|
||||
Reference in New Issue
Block a user