Workstations Service
This commit is contained in:
parent
9a2bd2bffd
commit
2efe5cd224
77 changed files with 978 additions and 2 deletions
5
docs/backend/index.md
Normal file
5
docs/backend/index.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Backend
|
||||
|
||||
| Service | Language | Toolchain | Host | Port | Last Updated |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| [Workstations](workstations.md) | JavaScript | Node.js | 192.168.88.228 | 50000 | 2026-09-02 |
|
||||
89
docs/backend/workstations.md
Normal file
89
docs/backend/workstations.md
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
# Workstations
|
||||
|
||||
``` bash
|
||||
cd /opt/instant-workstation/backend/workstations
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
=== "Fedora"
|
||||
|
||||
``` bash
|
||||
sudo dnf install nodejs npm
|
||||
```
|
||||
|
||||
=== "Ubuntu"
|
||||
|
||||
``` bash
|
||||
sudo apt install nodejs npm
|
||||
```
|
||||
|
||||
``` bash
|
||||
npm ci
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo ln -s /opt/instant-workstation/infrastructure/systemd/workstations.service /etc/systemd/system/.
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl daemon-reload
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl enable workstations
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl start workstations
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl status workstations
|
||||
```
|
||||
|
||||
## Updates
|
||||
|
||||
### Packages
|
||||
|
||||
``` bash
|
||||
npm outdated
|
||||
```
|
||||
|
||||
``` bash
|
||||
npm update
|
||||
```
|
||||
|
||||
``` bash
|
||||
git add package.json package-lock.json
|
||||
```
|
||||
|
||||
``` bash
|
||||
git commit -m "Workstations Service: Package Updates"
|
||||
```
|
||||
|
||||
``` bash
|
||||
git push
|
||||
```
|
||||
|
||||
### Service
|
||||
|
||||
``` bash
|
||||
git pull
|
||||
```
|
||||
|
||||
``` bash
|
||||
npm ci
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl daemon-reload
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl restart workstations
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo systemctl status workstations
|
||||
```
|
||||
|
|
@ -1 +1,31 @@
|
|||
# Hardware
|
||||
# Overview
|
||||
|
||||
## Installation
|
||||
|
||||
=== "Fedora"
|
||||
|
||||
``` bash
|
||||
sudo dnf install git
|
||||
```
|
||||
|
||||
=== "Ubuntu"
|
||||
|
||||
``` bash
|
||||
sudo apt install git
|
||||
```
|
||||
|
||||
``` bash
|
||||
cd /opt
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo mkdir instant-workstation
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo chown henrik:henrik instant-workstation
|
||||
```
|
||||
|
||||
``` bash
|
||||
git clone https://code.instantworkstation.com/Henrik/instant-workstation.git instant-workstation
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue