minor updates
This commit is contained in:
parent
2f3f2d94ef
commit
a35ad405d7
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,3 +21,4 @@ Thumbs.db
|
|||||||
# Vite
|
# Vite
|
||||||
vite.config.js.timestamp-*
|
vite.config.js.timestamp-*
|
||||||
vite.config.ts.timestamp-*
|
vite.config.ts.timestamp-*
|
||||||
|
.data
|
||||||
|
|||||||
6
.vscode/extensions.json
vendored
Normal file
6
.vscode/extensions.json
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"svelte.svelte-vscode",
|
||||||
|
"bradlc.vscode-tailwindcss"
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -104,7 +104,7 @@ sudo systemctl enable --now plebsaber.service
|
|||||||
sudo systemctl status plebsaber.service --no-pager
|
sudo systemctl status plebsaber.service --no-pager
|
||||||
```
|
```
|
||||||
|
|
||||||
The Node server listens on `0.0.0.0:3000` by default.
|
The Node server listens on `0.0.0.0:8037` by default.
|
||||||
|
|
||||||
### 4) Caddy reverse proxy
|
### 4) Caddy reverse proxy
|
||||||
|
|
||||||
@ -119,7 +119,7 @@ plebsaber.stream {
|
|||||||
path /robots.txt
|
path /robots.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
reverse_proxy 127.0.0.1:3000 {
|
reverse_proxy 127.0.0.1:8037 {
|
||||||
health_uri /healthz
|
health_uri /healthz
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -168,6 +168,6 @@ ssh user@server 'sudo -u plebsaber bash -lc "cd /srv/plebsaber/app && tar -xzf p
|
|||||||
|
|
||||||
- This project is configured with `@sveltejs/adapter-node` and includes server routes under `src/routes/api/beatleader/...` for server-side BeatLeader requests.
|
- This project is configured with `@sveltejs/adapter-node` and includes server routes under `src/routes/api/beatleader/...` for server-side BeatLeader requests.
|
||||||
- If you need environment variables, set them in the systemd unit with `Environment=KEY=VALUE` or `EnvironmentFile=`.
|
- If you need environment variables, set them in the systemd unit with `Environment=KEY=VALUE` or `EnvironmentFile=`.
|
||||||
- Ensure your firewall allows inbound 80/443 (Caddy) and blocks 3000 from the internet.
|
- Ensure your firewall allows inbound 80/443 (Caddy) and blocks 8037 from the internet.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"start": "node build/index.js",
|
"start": "PORT=8037 node build/index.js",
|
||||||
"prepare": "svelte-kit sync || echo ''",
|
"prepare": "svelte-kit sync || echo ''",
|
||||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user