Files
Homarr/README.md

81 lines
2.6 KiB
Markdown
Raw Normal View History

2022-05-11 15:10:05 +02:00
<p align = "center">
<h3 align = "center"> Homarr <h3>
<p align = "center">
A homepage for <i>your</i> server.
<br/>
<a href = "https://github.com/ajnart/homarr/deployments/activity_log?environment=Production" > <strong> Demo ↗️ </strong> </a> • <a href = "#install" > <strong> Install ➡️ </strong> </a>
2022-05-12 13:07:47 +02:00
<br />
<br />
<a href = "https://discord.gg/aCsmEV5RgA" > <img src="https://discordapp.com/api/guilds/972958686051962910/widget.png?style=shield" > </a>
2022-05-11 15:10:05 +02:00
</p>
</p>
# 📃 Table of Contents
- [📃 Table of Contents](#-table-of-contents)
- [🚀 Getting Started](#-getting-started)
- [ About](#-about)
- [⚡ Installation](#-installation)
- [Deploying from Docker Image 🐳](#deploying-from-docker-image-)
- [Building from Source 🛠️](#building-from-source-)
2022-05-12 13:07:47 +02:00
- [💖 Contributing](#-contributing)
2022-05-11 15:10:05 +02:00
<!-- Getting Started -->
# 🚀 Getting Started
## About
Homarr is a simple and lightweight homepage for your server, that helps you easily access all of your services in one place.
## ⚡ Installation
### Deploying from Docker Image 🐳
> Supported architectures: x86-64, ARM, ARM64
_Requirements_:
- [Docker](https://docs.docker.com/get-docker/)
**Standard Docker Install**
```sh
docker run --name homarr -p 7575:80 -d ghcr.io/ajnart/mhp
```
**Docker Compose**
```yml
---
version: '3'
#--------------------------------------------------------------------------------------------#
# Homarr - A homepage for your server. #
#--------------------------------------------------------------------------------------------#
2022-05-08 22:10:19 +02:00
services:
mhp:
2022-05-11 15:10:05 +02:00
container_name: homarr
2022-05-10 19:07:55 +02:00
image: ghcr.io/ajnart/mhp
2022-05-11 15:10:05 +02:00
restart: unless-stopped
2022-05-08 22:10:19 +02:00
ports:
- '7575:80'
```
2022-05-11 15:10:05 +02:00
### Building from Source 🛠️
_Requirements_:
- [Git](https://git-scm.com/downloads)
- [NodeJS](https://nodejs.org/en/) _(Latest or LTS)_
- [Yarn](https://yarnpkg.com/)
- Some web server
**Installing**
2022-05-12 13:07:47 +02:00
- Clone the GitHub repo: `git clone https://github.com/ajnart/homarr.git` & `cd homarr`
2022-05-11 15:10:05 +02:00
- Install all dependencies: `yarn install`
- Build the source: `yarn export`
- Start a web server (Any web server will work):
- _Examples:_
- NodeJS serve: `npm i -g serve` or `yarn global add serve` & `serve ./out`
- python http.server: `python -m http.server 7474 --directory out`
2022-05-12 13:07:47 +02:00
# 💖 Contributing
2022-05-12 13:50:14 +02:00
You can contribute by [Submitting Bugs](https://github.com/ajnart/homarr/issues/new), [Requesting Features](https://github.com/ajnart/homarr/issues/new), or [Making a pull request](https://github.com/ajnart/homarr/compare)!
All contributions are highly appreciated.