generated from ztimson/template
Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
22985b6230 | ||
|
|
9b5bf5d2fb | ||
|
|
daaa53790a | ||
|
|
a2afcfa7bd | ||
|
|
b9ebb149ef | ||
|
|
cfcbccf152 | ||
|
|
9c8c108da0 |
+8
-1
@@ -7,6 +7,13 @@ curl -sL https://git.zakscode.com/ztimson/fallback-ap/raw/branch/master/install.
|
||||
|
||||
# VNC
|
||||
sudo raspi-config nonint do_vnc 0
|
||||
cat <<EOF | sudo tee /etc/wayvnc/config
|
||||
use_relative_paths=true
|
||||
address=127.0.0.1
|
||||
enable_auth=false
|
||||
enable_pam=false
|
||||
relax_encryption=true
|
||||
EOF
|
||||
|
||||
# Node
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.7/install.sh | bash
|
||||
@@ -14,7 +21,7 @@ source ~/.bashrc
|
||||
nvm install stable && nvm use stable
|
||||
|
||||
# Install Homecast
|
||||
cd /tbd
|
||||
mkdir /app && cd /app
|
||||
git clone https://git.zakscode.com/ztimson/homecast.git .
|
||||
npm i
|
||||
mkdir -p certs
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"description": "The Homebrew Chromecast",
|
||||
"main": "src/server.mjs",
|
||||
"scripts": {
|
||||
"start": "node server.mjs"
|
||||
"start": "node src/server.mjs"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import {fileURLToPath} from 'node:url';
|
||||
import {WebSocketServer} from 'ws';
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
const NOVNC = path.join(__dirname, 'node_modules/@novnc/novnc');
|
||||
const NOVNC = path.join(__dirname, '../node_modules/@novnc/novnc');
|
||||
const PORT = process.env['PORT'] || 3000;
|
||||
const VNC_HOST = '127.0.0.1';
|
||||
const VNC_PORT = 5900;
|
||||
|
||||
Reference in New Issue
Block a user