generated from ztimson/template
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
daaa53790a | ||
|
|
a2afcfa7bd | ||
|
|
b9ebb149ef | ||
|
|
cfcbccf152 |
+1
-1
@@ -14,7 +14,7 @@ source ~/.bashrc
|
|||||||
nvm install stable && nvm use stable
|
nvm install stable && nvm use stable
|
||||||
|
|
||||||
# Install Homecast
|
# Install Homecast
|
||||||
cd /tbd
|
mkdir /app && cd /app
|
||||||
git clone https://git.zakscode.com/ztimson/homecast.git .
|
git clone https://git.zakscode.com/ztimson/homecast.git .
|
||||||
npm i
|
npm i
|
||||||
mkdir -p certs
|
mkdir -p certs
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
"description": "The Homebrew Chromecast",
|
"description": "The Homebrew Chromecast",
|
||||||
"main": "src/server.mjs",
|
"main": "src/server.mjs",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node server.mjs"
|
"start": "node src/server.mjs"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@ import {fileURLToPath} from 'node:url';
|
|||||||
import {WebSocketServer} from 'ws';
|
import {WebSocketServer} from 'ws';
|
||||||
|
|
||||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
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 PORT = process.env['PORT'] || 3000;
|
||||||
const VNC_HOST = '127.0.0.1';
|
const VNC_HOST = '127.0.0.1';
|
||||||
const VNC_PORT = 5900;
|
const VNC_PORT = 5900;
|
||||||
|
|||||||
Reference in New Issue
Block a user