chore: base create build script
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Executable
+8
@@ -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
+1
Submodule owof-announcements added at c575dcd0ce
Reference in New Issue
Block a user