clean up package.json

This commit is contained in:
Pavocracy 2024-02-03 11:51:25 +10:00
parent 256bd56c62
commit fa082a875e
Signed by: Pavocracy
GPG Key ID: 4669764A8BBA94F9
3 changed files with 3 additions and 4 deletions

View File

@ -4,6 +4,6 @@ My personal website built with htmx and tailwind, running with bun!
# Usage
To setup run the command `bun run setup`
To setup run the command `bun setup`
Then run the command `bun run dev` and visit `http://localhost:3000` in a browser
Then run the command `bun dev` and visit `http://localhost:3000` in a browser

View File

@ -8,7 +8,7 @@ Type=exec
User=www-data
Group=www-data
WorkingDirectory=/var/www/www/
ExecStartPre=/usr/bin/git pull --force && /usr/bin/bun run prod
ExecStartPre=/usr/bin/git pull --force && /usr/bin/bun prod
ExecStart=/usr/bin/bun run src/server.ts --domain www.pavocracy.dev --analytics visits.pavocracy.dev
Restart=on-failure
RestartSec=3s

View File

@ -1,6 +1,5 @@
{
"name": "www",
"module": "server.ts",
"type": "module",
"scripts": {
"setup": "bun run setup.ts",