User quickstart docs README

This commit is contained in:
Nicolai Ort 2021-04-05 17:33:00 +02:00
parent 9135090e73
commit 19cc7d0c28
2 changed files with 20 additions and 16 deletions

View File

@ -4,17 +4,25 @@
This is an API client for [https://git.odit.services/lfk/backend](@lfk/backend)
- WebApp built with [Svelte](https://svelte.dev), [WindiCSS](https://windicss.org/) (to compile [TailwindCSS](https://tailwindcss.com/)) and [Vite](https://vitejs.dev).
## 🚀 Getting Started
## Dev🛠
### 🚀 Getting Started
```
yarn
```
## Development
### Development
```
yarn dev
/
yarn dev --open
```
## Build
### Build
```
yarn build
```
## Use (quickstart) 🔥
1. API-Endpoint -> Put in the baseurl of your Läufersystem API.
2. Client Token -> Statsclient token
3. Enjoy the show
To get back to the config screen just type `cnf` into the window

View File

@ -30,20 +30,16 @@
submit();
}
}
if(command ==="" && e.key === "c")
{
if (command === "" && e.key === "c") {
command = "c";
}
else if(command ==="c" && e.key === "n"){
} else if (command === "c" && e.key === "n") {
command += "n";
}
else if(command ==="cn" && e.key === "f"){
} else if (command === "cn" && e.key === "f") {
clear();
settings_open = true;
is_configured = true;
command = ""
}
else{
command = "";
} else {
command = "";
}
};