chore: base create build script

This commit is contained in:
redglow
2026-06-21 17:01:36 +02:00
parent c575dcd0ce
commit 1acecba0c8
3 changed files with 12 additions and 1 deletions
+3 -1
View File
@@ -26,4 +26,6 @@ Run:
``` ```
NODE_ENV=production HTTP_PORT=1234 node ./src/server/main.ts NODE_ENV=production HTTP_PORT=1234 node ./src/server/main.ts
``` ```
Copy to server:
+8
View File
@@ -0,0 +1,8 @@
set -e
git clone https://git.foxthesystem.space/redglow/owof-announcements.git
cd owof-announcements
yarn install
./node_modules/.bin/vite build
rm -rf node_modules
yarn install --production=true
sqlite3 data.db < ./src/server/db/schema.sql
Submodule owof-announcements added at c575dcd0ce