From 2c88caead9cbfd104704796b4a6ab66a78f3bbe9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?=
<40151420+ldericher@users.noreply.github.com>
Date: Tue, 27 Sep 2022 17:58:22 +0000
Subject: [PATCH] READMEs
---
README.md | 2 +-
ui/README.md | 50 +++++++++++++++++++++++++++++++-------------------
2 files changed, 32 insertions(+), 20 deletions(-)
diff --git a/README.md b/README.md
index b11ee77..1b3808f 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ A fancy dashboard for use in a [THW](https://en.wikipedia.org/wiki/Technisches_H
- **Clean Look**
All that matters, at one glance!
-*Date and Time – Upcoming Events – Public Announcement Space – News Ticker – Picture Showcase*
+*Date and Time – Upcoming Events – Public Announcements – News – Pictures*
- **Easy Install**
Set up a RaspberryPi, run the [installer script](TODO), done!
diff --git a/ui/README.md b/ui/README.md
index 21ad056..71debd7 100644
--- a/ui/README.md
+++ b/ui/README.md
@@ -1,24 +1,36 @@
-# ovdashboard-ui
+# OVDashboard UI
-## Project setup
-```
-yarn install
-```
-### Compiles and hot-reloads for development
-```
-yarn serve
-```
+## Quick Start
-### Compiles and minifies for production
-```
-yarn build
-```
+If you only want a working installation, it is highly recommended to use the `docker` image at [`TODO`](TODO).
+The image contains both the API and UI.
+Refer to the [main README](../README.md) for an in-depth how-to.
-### Lints and fixes files
-```
-yarn lint
-```
-### Customize configuration
-See [Configuration Reference](https://cli.vuejs.org/config/).
+## Setup for development and contribution
+
+No need to fiddle around with specific Node.js versions.
+You only need a "general purpose" development setup to get this project up and running for debug and contribution purposes:
+
+- [Docker Engine](https://docs.docker.com/engine/install/)
+- [Visual Studio Code](https://code.visualstudio.com/)
+- [Remote - Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) (VSCode extension)
+
+Once you open this directory in VSCode, you should be prompted to reopen it in a development container.
+If not, hit `Ctrl+Alt+P` and search for "reopen in container".
+
+
+## Running the UI without the `docker` image
+
+> You probably don't need this! Usually the image is good enough!
+
+However, if you want to deploy the UI on a cluster or any custom web server, go ahead.
+First, run `yarn build` in this directory - I'd recommend you use VSCode with a development container as described above.
+
+Then you can deploy the `dist` directory as the webroot using your favourite web server.
+
+
+## Configuration
+
+The OVDashboard UI is created using Vue.js. Even though the default config should fit most applications, you can refer to the [Configuration Reference](https://cli.vuejs.org/config/) for what can be configured additionally.