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) 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). - 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 yarn
``` ```
## Development ### Development
``` ```
yarn dev yarn dev
/ /
yarn dev --open yarn dev --open
``` ```
## Build ### Build
``` ```
yarn 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,21 +30,17 @@
submit(); submit();
} }
} }
if(command ==="" && e.key === "c") if (command === "" && e.key === "c") {
{ command = "c";
command="c"; } else if (command === "c" && e.key === "n") {
} command += "n";
else if(command ==="c" && e.key === "n"){ } else if (command === "cn" && e.key === "f") {
command+="n";
}
else if(command ==="cn" && e.key === "f"){
clear(); clear();
settings_open = true; settings_open = true;
is_configured = true; is_configured = true;
command = "" command = "";
} } else {
else{ command = "";
command="";
} }
}; };
})(); })();